I have a custom "Run Rule" Task, how can I pass in the Identity of who executes it?

I have a Task that simply runs a custom rule. How can I pass into the “Rule Config” setting the value of the user who is executing the task? Or is there a function available in the Rule to determine this? I’d like the Rule to know who is running it. Thanks!

Hi @jgruendike

The taskResult parameter in the scheduler has this information. Try using the below statement to get the launcher of the task.

taskResult.getLauncher()

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.