on 10-17-2008 7:31 PM
Hi experts,
I'm working on a workflow that can be triggered by 2 events I want to use the triggering event name as a fork condition.
I'm having trouble passing the event name and using it.
I created a container variable EventName referenced to HRS1212-EVENT and added it to binding from event to workflow and from workflow to a sent-mail task.
Any help will greatly appreciated.
Regards,
Stas
Hi
How are you passing the EVENTNAME , I mean are you passing from a program then if this is the case then follow the below steps.
1. Call the Fm EWW_WORKFLOW_START to this Fm pass the TASK number and by using the MACRO
SWC_SET_ELEMENT
For the above macro we need to pass three parameters
a) Container name
b) Field NAME in your case it is 'EventName' this name should be same as the name that you have declared in the Task container.
c) Value now you want to pass the Event name like CREATE or DISPLAY this value should be stored in a variable and finally it will be like the below statement
SWC_SET_ELEMENT t_container 'EventName' eventvalue.
now your task container element 'EventName' will have the value that you have passed through the program.
Regards
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your replies.
I got it working somehow. Must have missed a check box or something.
Regards,
Stas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was actually hoping to do it through binding... passing the &_EVT_NAME& from the event to &EVENTNAME& i created in the workflow container
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.