Local action being executed when the Flow action's allow when condition fails
1) Create a sample case type with one stage and one step.
2) Create a sample flow action and a sample optional local action from that assignment of the first flow of the case type.
3) Configure "Never" as the condition for the flow action to get executed.
4) Create a sample case so that the case stops as the first assignment.
5) On executing the task, the optional local action is executed instead of the flow action. (Since we have configured "Never", it is expected that the flow action is not to be executed. But, instead of showing an information message saying that the user cannot perform the flow action due to access restrictions, the system executes the optional local action)
6) Expectation is that the system should show an information message saying that the user does't have access to perform the flow action. ( Note: This happens when the assignment doesn't have an optional local action to perform. This is expected to be displayed even when the assignment has an optional local action.)
Is this the expected behavior? Do we have a configuration point to overcome this?
There is a slight change in the way you have tested things. I want you to set "Never" as the execute when condition for the flow action that goes out of the assignment and not on the optional local action. Once you set this, and then when you try to execute the task from the task link on the review harness, since you can't execute the flow action, the local action gets executed.
When you don't configure that local action, a message is displayed on the screen saying that the user doesn't have access to execute the flow action.
I want the same message to be displayed even when there is a local action configured.
An SR was raised to address the above mentioned issue. But turns out that if an user doesn't have the access to perform the flow action from an assignment, an optional local action that flows out of that assignment will be executed.
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.