on 10-22-2008 9:17 AM
Hi Friends,
I have a start condition in my Custom workflow.
BO 'BUS2032' and the condition is SalesDocumentType = 'ZZZ' (Workflow should be executed only for Document type 'ZZZ')
Start condition is active (Checked in TCode SWB_COND)
When I evaluate condition with test data it is working fine. (Returns 'False' in case of any other document type and 'True' in case of 'ZZZ')
But, when I execute workflow it is not working. Workflow is being executed for all document types.
Please help me if any one has Idea
Seshu
Hi SR,
though condition is active in SWB_COND, do check in WF builder (Basic data) if column C is active.
Is there a FM in the Check FM field of SWETYPV?
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Column C is active in Basic data.
Function module SWB_CHECK_FB_START_COND_EVAL is there in Check FM field in SWETYPV
When you maintain the start condition in SWB_COND, the why do you need additional stadard check FM in there. Try to analyse what this check FM performs. If it is doing something else other than what you are looking for, remove it and it should fix your problem.
Regards, IA
Hello - did you find a solution to this problem? I have the exact same issue with a Workflow being triggered for object BUS2012 which should only work against a specific purchasing group. I don't get the problem in DEV/QA only Prod. In Prod SWB_COND gives me the correct false result where anything but my desired Purchasing Group is used. SWBRULECOU holds my condition entries (against version 9999 is this correct?).
Running SWUE to (re)create the event in Prod against a previously incorrectly triggered WF returns the correct result of False?? So there appears to be differences between when the event is created manually and when it happened for real against the same PO number.
Hope you can help
Thanks
Jo.
i think you need to use check function module.
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.