Forum Discussion

Michelle's avatar
Michelle
Creator II
8 years ago

WorkFlow Approver Observer

Dear All In WorkFlow I want have Approvers and Observers role, so I setting Approvers voting_weight: 100  required: 1. Observers voting_weight: 0 Required:0 Flow Map: A -->  B --> C In B activity  one of the person  chose reject  go back A activity  it's OK  (P.S  path setting override path) . But I want Observer reject don't go back A . How can I do in this condition    

2 Replies

  • Hello, Please see the sample method below which is intended to run from an onRefuse Server Event on a Workflow Activity. This method checks the user making the vote, and returns an error message if they are an Observer which also prevents the Workflow going back to the previous activity. Chris __________________________________________ Christopher Gillis Aras Labs Software Engineer
  • Hi Thank you for replying. User want to show choose path so user can choose reject or approve. Have any method can do if (identityName == "Approvers") { //execute override  path} else {// don't execute override path}