I have a simple workflow with an event script at the middle step.
In the script I need to get task data for the current step (where the script is assigned).
To do so I use the following method:
RecArray workData = $WFMAIN.WAPIPkg.LoadWorkData(prgCtx, work)
But in the workData I can see only the 1st step "Start Step".
Why don't I get all 3 steps in workData?