Issue with configuration parameter in a process step

Hello,

In a custom process based on ADS_ADSAccount_Insert I have added a process step that executes a PowerShell script. The script used a custom configuration parameter 'Custom\RemoteMailbox\CredentialFileO365'. I have tested the process and the PowerShell script was executed correctly. The code to access the configuration parameter is (session.Config.GetConfigParm(Config.Custom.RemoteMailbox.CredentialFileO365).

However, since this week I find that the process step throws following error:

[System.MissingFieldException] Field not found: 'QBM_2806300B23BB40C5963B7A221AE3D639.RemoteMailbox'.

This seems to indicate that the configuration parameter can not be found, which is strange since, as I mentioned, the process step did execute correctly previously. I have created a test script that used the exact same code and it works OK (I am not sure anymore whether I should use session.Config.GetConfigParm or Connetion.GetConfigParm or even Session.Config().GetConfigParm)

An observation I make is that the UID_DialogConfigParam for Custom is: QBM-2806300B23BB40C5963B7A221AE3D639 (hyphen), the error shows the same UID but with an underscore.

Can anyone shed some light on this?

Thank you in advance.

Regards,

Mrs. Wilke Jansoone

Parents Reply Children