Dear all, i'm not a workflow expert. I've created a workflow that works correctly when i test it using transaction SWDD, but I have an error of "no agent ready" when i process it using fm SWE_EVENT_CREATE.
the task is defined in this way:
Agent Expression: &_WF_INITIATOR&
but I also try this:
Agent User : ACNDEV (my user)
....and also I try to leave the agent blank.
I call the workflow rasing the event "CREATED" in that way:
VA_CREATOR-OTYPE = 'US'.
VA_CREATOR-OBJID = SY-UNAME.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = 'ZTESTFLOW'
objkey = 'ZTESTFLOW'
event = 'CREATED'
CREATOR = VA_CREATOR
TABLES
EVENT_CONTAINER = wi_container
The workflow start but at first task it is stopped with the message "No agent ready".
I already have try in different way, but i don't find any solution.
Anybody can help me ?
Davide