Support Note KB0933090
Email
A node has been added in the approval task even if the condition is not met.
Symptom

In the approval flow of any SM project, we have noticed a node which got triggered even after the condition has been dissatisfied. We have updated the parent question responses, but we can still see the node in the approval task.


Resolution

Please validate the project template if you have maintained any question and mapping to dissatisfy the conditional expression or not. For any conditional approval flow to work properly, you have to maintain both satisfying and dissatisfying expressions, so that the node will also change based on the question response.

Let's say if you select Yes for the parent question, a node will pop up in the flow diagram due to the conditional approval mapping and the expression used over the template. Now if you switch the response from Yes to No, you also have to maintain a question with the same field mapping, which will get synced if the response has been saved as No. This will revise the response for the conditional mapping and dissatisfy the node's conditional expression.

Please note that the visibility condition only hides the questions and responses from the UI screen, it will not delete them unless a Null value is passed to our database. If we switch the response from Yes to No, it may hide the conditional question, but it will not remove the value being stored in the first place to satisfy the node condition. It can only be achieved by having one more question with the same field mapping and a different initial value maintained for the alternate parent response (No).

Also, please keep in mind that SAP Ariba only recommends the usage of visibility conditions over the approval nodes maintained inside a task. Usage of conditions on the task in the registration project is supported but isn't a best practice and is subject to multiple restrictions, as it can add the tasks to the project's workflow, but it can't be removed once it has been added to the project, even if the project no longer meets the applicable condition.


See Also

Conditional Approval Flows Based on Questionnaire Answers | SAP Help Portal

Restrictions, Requirements, and Helpful Hints for Setting Up the Supplier Registration Project Template | SAP Help Portal



Applies To

Supplier Lifecycle & Performance > Supplier Lifecycle & Performance Registration > Approval and To Do Task
Supplier Lifecycle & Performance > Supplier Request

Terms of Use  |  Copyright  |  Security Disclosure  |  Privacy