on 08-31-2017 11:20 AM
Hi ,
I am new to WF , and i have the following problem :
we have an agent determination via expression , and there are several possible agents in the task possible agents . when there is no overlap between the possible agents and the agents in the expression , the task is assgined to all possible agents.
I want the task to end in error in this case.
I know how to do it with agent assignment via rule ,
is there a way to do the same with agent assignment via expression ?
Thanks, Nirit .
Do you specifically need it to go into error? I don't think this is necessarily a good thing to rely on, as there are many other ways an item can end up without agents.
For this reason there are reports (SWI2_ADM1) you should be running at least daily which will list these types of issues, regardless if you have any special handling in place. Perhaps these are sufficient for your requirement?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could check the contents of the expression in an earlier Condition Step - where you evaluate your expression for having some content. If there are no lines in your expression, then use a process control step to throw an exception.
Mind you, I have not used Process Control to throw exceptions, so your mileage may vary. But it is *always* a good idea to check and ensure you have valid agents before launching a dialog task!
Sue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
8 | |
8 | |
6 | |
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.