Posts

Showing posts from June, 2021

Use Case 7: Decide Voting Path Based on Parent Property

Image
In this section, we will see how to set different voting path based on the property value from Parent Item. Use Case: "Based on property value from Parent item, Voting Path should be decided" Assumptions 1. Below workflow is created in system and parent item has property Critical Value 2. Get Controlled Item method already exist in ARAS Instance Explanation In this Auto Router activity will check the property "Critical Value" from parent item. If critical value is Yes, then it should go to Compliance Review  and if the value is No, then it should go to CE Evaluation Steps to be followed are: Step 1: Create below server method (C#) in ARAS Instance Innovator innovator = this.getInnovator(); string activityId = this.getID(); Item controlledItem = this.apply("Get Controlled Item"); string criticalValue = controlledItem.getProperty("a_criticalvalue"); string pathName = "Approve1"; if (criticalValue == "Yes") { pathName = "A