on ‎2014 Mar 20 5:48 PM
Hi,
I know that this probably is a dummy question, but which workflow template is executed when I create a travel request using transaction TRIP?
I went to tcode SWDD, but there are so many templates that was difficult to know for sure.
Thanks and regards,
Roberto Falk
Request clarification before answering.
Hi Roberto
The workflow will "trigger" if you have activated the event linkage in your system. If not, no workflow will trigger. To find what all standard workflows are there, follow this process: (those may or may not be actively likked to the triggering event)
1) The Business object for TRIP is BUS2089
2) If you go to SWO1,enter this BO , click on where used list, select "Used in" as 'Tasks'-> you will get a lengthy list.
From the list, keep only the ones with 'OTYPE' (visible as just 'OT') = 'WS' - those are workflow templates: (custom workflow templates begin with 9xxxxxxx series):
WS 1000087
WS 1000087
WS 1000087
WS 1000087
WS 20000040
WS 20000040
WS 20000040
WS 20000040
WS 20000050
WS 20000050
WS 20000050
go to PFTC/SWDD and check these out, which one suits your need - activate them via SWETYPV/SWE2.
Regards,
Modak
also check out the help link:
So we have the following standard workflows:
Workflow Template WS20000050 (Approve Travel Request)
Workflow Template WS 01000087 (Approve Travel Plan)
Workflow Template WS20000040 (Approve Trip)
Message was edited by: Modak Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I've done the steps you described, and now the log shows that the workflow was started/considered:
| Obejct Type | Event | Curr Date | Time | Name of... | Handler/Action |
|---|---|---|---|---|---|
| Trace ON | 21.03.2014 | 14:34:03 | F_EMPLOYEE | ||
| BUS2089 | CHANGED | 21.03.2014 | 14:34:09 | No receiver entered | |
| BUS2089 | REQUESTCREATED | 21.03.2014 | 14:34:09 | WS20000050 | SWW_WI_CREATE_VIA_EVENT_IBF |
| Trace OFF | 21.03.2014 | 14:34:14 | F_EMPLOYEE |
Before executing, I tried to set the approver by entering in the SWDD - workflow WS20000050, basic data, agent assigment for task, then I've added the posistion 'Manager', that has a user associated.
How can I see if the user received the trip to be approved?
Thanks and regards,
Roberto Falk
You can find workitesm using SWI1, or SWI2_FREQ, or SWI6 (provide business object and key and it will return all started workflows).
Then in the log locate the step and click on possible agents.
I assume this is all new to you so just take your time to get familiar with these transactions and with the workflow log (also technical view is interesting).
Kind regards, Rob Dielemans
Haha, just do what tommy said just moments before my post
Message was edited by: Rob Dielemans
Hi Rob,
sorry, not sure how to do it. See below the org. structure:
I'm currently creating the trip with user Manuel, so, in the workflow WS 20000050, under basic data, agent assignement for task, I've included the manger user Maria, see below:
But is not working, when I test the workflow using tcode SWUS, the log says that "No agent found for this task", as you can see in my last post.
Any ideas where I'm missing the step to set the approval?
Thanks and regartds,
Roberto Falk
Hi Roberto
in the task - do not fix to manager.....that is just the "Possible Agent"
go to PFTC, there maintain Agent Assignment -> make the task attribute general.
Now see if the "Rule" is attached to the workflow 'step' to send the decision (in SWDD) or is it attached to the task (in PFTC -> Default Rule).
Pick that up and open in PFAC and see what it is doing to get the agents....make the config.
Did you go through the links I gave, it will have process to setup rules to get the agents.
Regards,
Modak
Hi Modak,
My task is set the general. Do you want me to exclude the agent assignement? Currently I've assigned to the manager...
Another thing, the "Rule", inside my task, is empty, check below:
I'll recheck the links you sent. I've checked last week but haven't found this "Rule" part. I'll check again.
Thanks and regards,
Roberto Falk
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.