on 02-11-2015 10:40 AM
Hello Team,
I am trying to create PoC for my client and I am new to Workflow but extensively worked in ABAP.
Actually in our system the existing workflows are running fine.
I have created Standard task with the below details
In Basic tab i have given
Object Type BUS2034
Method DISPLAY
Triggering event I have given like
BUS2034 | CHANGED | Customer Contract Changed |
BUS2034 | CREATED | Customer Contract generated |
Terminating event
BUS2034 | DELETED | Customer Contract Deleted |
I have done the binding & activated event in triggering event tab.
And I have checked in SWE2, so 2 new entries are added
I tried to test using SWUE but work item not created
I tried to changed Sales contract using VA42 but work items not created
I have tried from custom program
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = 'BUS2034'
objkey = '0040014284'
EVENT = 'CHANGED'
But not created work item(have checked in SWI1 and SWIA)
SWU3 configuration are okay since the existing workflows are running in Development system.
How to find the rootcause why the work item not created(I agree there is no agent but work item should be created as my knowledge)
How to test the sequence(what are the tcodes) which place its failing.
I have to proceed further steps in PoC if the above problem resolved.
Regards,
Vadamalai A
Hi Vadamalai,
You cannot create a dialog task individual i guess( May be i am wrong but never seen one ). For POC purpose you need to create a workflow ( PFTC ) and then create a task ( Standard Dialog ) inside it. Now the triggering events will be in your workflow triggering event. Then only you will be able to test the same via SWUE or other triggering method. Please note that via workflow only , you specify the correct agent it should route to and other things.
Do let me know if still its not clear.
Thanks
Rakesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes , For workitems , standard single task will not work, It should be supported by workflow. There are many things associated with this , like agent assignment ( who will get the workitem ) , decisions etc. If you can tell me what is your exact requirement , i can find out a way without creating template.
Thanks
Rakesh
Hi ,
Going with your words "executed the work item then the sales contract will be displayed. Based on this I may get different scenario to implement." , you need to take the decision on the basis of workitem execution , so how you are planning to take that , because workitem will only display and since it is not the workflow , workitem will be over as soon as you click on the same and you wont be able to capture anything ( no decision etc ). Is that right ?
Thanks
Rakesh
Hi ,
I just tested in my system. With a single task also you can have this method. Problem is , you need to assign the agent from menus and then workitem will come to your agents inbox. See the screen shots.
Also , i tried tro execute and its working.
Now you need to check SWEL for event triggered and then SWIA for workitem generation. Please see SWEL with data and time range so that you can narrow down the search.
Thanks
Rakesh
Hi Anjan,
Do we need explicit commit work is required when we call from custom program? anyhow then event should be triggered when sales contract gets changed(tried and event is called after commit work but somewhere its failing).
My query is when event is triggered this call may not reach till event linkage. How to identify the rootcause.
Regards,
Vadamalai A
Hello All,
I am closing this topic.
I have issue with user WF-BATCH which is stopping with creation of work items.
Thanks for your support.
Regards,
Vadamalai A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
If nothing is appearing in the event log, then there event is not being raised. What does SWEL say when you create the event manually via SWUE?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadamalai,
As the message in your screenshot is saying one receiver found. Now click on the third button on application toolbar "Event Receiver" and see whether you task number is on the receiver. If yes , then event has been triggered and your task received it. Now you need to go to SWIA and see the workitem. It must be there , may be in error or something but it has to be there as it has been triggered. Also for SWEL , you can check whether any other events are coming or not , may be your trace is activated but with filter , so you need to check and activate the trace for all events.
Please check and let me know.
Thanks
Rakesh
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.