cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem using workflow - Agent not ready

Former Member
0 Likes
2,921

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

View Entire Topic
Former Member
0 Likes

Hi,

It seems like you have not defined the task as general task.

Go to PFTC, open that task, then go to addittional data --> Agent assignment --> Maintain.

On that screen, select your task description and click on the Icon Attributes.

You'll get a pop-up screen.

Here select the radio Button 'General Task' and transfer.

Now try testing your workflow again.

Regards,

Raj