Skip to main content
Versions: blackpearl 4.6.6, smartforms 1.0.4

I have an activity that goes out to multiple users and can be actioned by any of them. My Outcome Succeeding Rules are set up so that the workflow will continue when "At Least 1 of [Action Result] = Approve" or "At Least 1 of [Action Result] = Reject"


I wanted to do a data transfer after the Form Event to store the ActivityInstanceDestUserFQN, except Data Event doesn't run as the destination user, it runs as the service account. How do I get the user name that completes an event first so that I can continue to use it further down the workflow?

Better late than never but I have acheived the same by having a data event at the end of the activity which basically takes the activity instance destination FQN and stores it in a data field called last actioner. As far as I can tell this works because all events are run in parallel until it hits the form event where if one user actions it the rest of the events are expired for other users so the last actioner will not get overwritten.

 

Hope this helps


Reply