This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AppData.Instance.RaiseMessage Not Working

Hi, using v7.1.1. I have some scripts running in Process Automation and I'm trying to log some success events and also some failure events written to the job service log.

An example of one of the calls I'm making is:

AppData.Instance.RaiseMessage(MsgSecurity.Warning,"Warning AERole does not exist")

 

The documentation says the following:

You can use the script engine methods RaiseMessage and AppData.Instance.RaiseMessage from within process steps to write output messages to the One Identity Manager Service log file. Use the process component "ScriptComponent" to run the script.

So I think I'm using the correct method but not seeing anything in the job service log. The log level is set appropriately and I can see other entries with the level of "WARN" so I should be able to see my warnings. One thing to note is that I'm running the script from a SendEmail component in the generating condition. The final sentence might indicate that logging will only work if it's called from within a ScriptComponent.

Any ideas why I'm not seeing my messages in the job service log?