on 07-09-2010 4:31 PM
Hi guys,
I hv a requirement to trigger the workflow only once(first time).
whatever is the the condition/changes in document, it should not trigger for second time.
do we hv any options available for this........
thanks in advance...
santosh.
Hi Santosh,
Could you provide more information? What release are you on? What object are you working with? What events are you looking at?
Regards,
Sue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi susan,
Below is the requested information,
Release : ECC 6.0
we are working on custom WF for ECO creation(CC01).
Description,
ECO is created in SAP by legacy system, thru bapi CCAP_ECN_CREATE, the WF will take the editing of the material in that ECO to different departments like MRP, accounting, sales,quality etc.... & respectively creates the views.
we cannot use CREATE event, bcos first the ECN(CC01) is created by bapi & further bapi creates the material & inserts it into ECN again, which is CHANGING the document. once this is done, our WF should trigger.
As we dont have CHANGE event in ECM BO, i am using CREATE event & settting it for ON CHANGE in SWEC t-code.
Bottomline is , it is triggering as soon as any changes happens.
But, we want it to restrict for one time triggering.
Regards.
santosh.
Hello Santosh,
Please use check function module.
When your workflow triggers for first time, there will some unique details entered at ECO related database tables.
When the workflow triggers subsequent times, those unique entries will not happen.
So, find those unique entries and include them in check function module.
Doing so, you can accompish your requirements.
Otherwise, create the change event by delegating the ECO business object.
Thanks and regards,
S.Suresh
Hello,
Trigger it how? Using events? If there's a CREATED event, use that.
reagards
Rick Bakker
Hanabi Technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.