It's important to my functionality to be able to identify the creator of the workflow and pass in the user_id. However, as you can see from the data above I cannot seem to find a way to get there here.
I'm aware of the solution someone else posted, where you query the workflows and match it using the flowId. However, if this is done in this manner it would need to be repeated every single time this automation was called. Whereas if I could get that value here (the user_id of the creator of the workflow) it would only be set once and be much more efficient.
2nd scenario: PRE_FETCH_OPTIONS
To try to sort this, I decided to attempt this from a different angle. Using the PRE_FETCH_OPTIONS retrieve a list of values from my system by passing in the portalId and the workflowId. But apparently the WorkflowId is not available in the PRE_FETCH_OPTIONS context.
the properties available in the PRE_FETCH_OPTIONS request object:
Yes, still working on it. Unfortunately haven't thought of anything yet. I was hoping there was some part of the documentation I've been missing or a simple answer. If I could just access the WorkflowId or UserId in the PRE_FETCH_OPTIONS function I would be able to sort everything. Any assistance would be greatly appreciated.