‎2006 Sep 20 6:25 AM
Hi,
Description: I have created a Object type and a event for the same by transaction SWO1, after that i have created a WorkFlow(WF) for which the triggering event is the event i have created in the Object Type. There is a report in which i have used the FM "SWE_EVENT_CREATE" and passed the Object Type, Event Name, Key field values and the creator.
Problem: When i am executing this report the FM is called and the sy-subrc after call is 0, stating that the call was succesfull, but the WF is not getting triggered when i went to transaction SWI2_FREQ to check this WF is not at all triggered. But when i tested from WF transaction SWDD it is working fine.
Could anyone please explain me on this. or is there any other way to use an event of a Object Type to trigger WF.
Thanks and Regards,
Raghavendra Goutham P.
‎2006 Sep 20 6:53 AM
hi gauthum,
try this chks.
Workflow Trace On/Off - SWU8
Display - SWU9
Delete - SWU10.
-
Work Item Analysis - SWI1
Identifying workflow for the work Item :
-
Tx : SWI1 - Enter the workiem id which has been identified in workflow log
The details consists of workflow of the workitem.
WorkFlow Errors :
1. Workflow Not Started - Using Event Trace we can Identify
2. Started but No Proceeded - Wrong Object Keys
3. Problem in Work Item Execution
Dialog Work Item - Agent Determinaion Error ( Position,Role,User )
- Role Resolution Error
Reqd Element would no be
Set in Binding
Background Work Item - Make Foreground and Test once Sucessfull make it Back round
-
rgds
nver
if hlped mark points
‎2006 Sep 20 6:53 AM
hi gauthum,
try this chks.
Workflow Trace On/Off - SWU8
Display - SWU9
Delete - SWU10.
-
Work Item Analysis - SWI1
Identifying workflow for the work Item :
-
Tx : SWI1 - Enter the workiem id which has been identified in workflow log
The details consists of workflow of the workitem.
WorkFlow Errors :
1. Workflow Not Started - Using Event Trace we can Identify
2. Started but No Proceeded - Wrong Object Keys
3. Problem in Work Item Execution
Dialog Work Item - Agent Determinaion Error ( Position,Role,User )
- Role Resolution Error
Reqd Element would no be
Set in Binding
Background Work Item - Make Foreground and Test once Sucessfull make it Back round
-
rgds
nver
if hlped mark points
‎2006 Sep 20 9:46 AM
Hi,
First check if the event gets triggered at all.
You do this by activating the event trace with SWELS and reading it with SWEL.
Also you didn't forget to place an explicit commit work after the swe_event_create? otherwise it won't work.
If the event does get triggered, chech if it has a receiver in SWETYPV.
If all these are fine, check if the binding is correct between event and flow. PFTC workflowtemplate 4th tab. If in doubt press F1 in this screen.
Kind regards, Rob Dielemans
PS workflow forum is called BPM here.
‎2006 Sep 20 9:59 AM
Hello,
The order in which you pass the variables to the event container should be same as the oredr in which u created parameters for the event. And also don't forget to pass the key field´for that business object.
Regs,
Venkat Ramanan N