Adrian Simpkins Posted September 17, 2021 Posted September 17, 2021 Hi All, I have a new BPM I am working on where we have a requirement to reassign it back to the original owner. The basic process is: 1 Request Raised 2 Team member picks up request / validates and inputs data 3 Request then assigned back to team for another person to validate the data and input 4 If any data issues found in step 3 we want to assign the request back to the original owner from step 2 I can see we can ask the request owner in step 4 to assign it manually back to the original owner, but I wanted to improve this if possible by automating this part, and just get the BPM to assign back to the initial owner from step 2. Ideally I just want task for step 4 where the person validating it can just select Validated or Rejected and upon selection of Rejected it assigns back to the initial owner. Is it possible to configure this in the BPM? Many thanks
Steve Giller Posted September 17, 2021 Posted September 17, 2021 You should be able to achieve this by saving the &[global["flowcoderefs"]["getReqInformation"]["ownerId"]] value in a Custom Field. You can later use it to populate the Owner parameter of a Requests->Assignment->Assign to Owner node. Might also be worth saving the &[global["flowcoderefs"]["getReqInformation"]["assignedTeamId"]] value as well in case the request has moved teams as well as owners. 1
Adrian Simpkins Posted September 17, 2021 Author Posted September 17, 2021 Hi Steve, Thank you - I will have a little play around, I did suspect the value was available to refer back to Many thanks as always
Steve Giller Posted September 17, 2021 Posted September 17, 2021 If you have a unique Result Reference (e.g. getOriginalOwner) for the Get Request Information->Request Details node you should be able to use the variable without storing it, but I've not had time to test that. So that would make the Assign to Owner node parameters:Team: &[global["flowcoderefs"]["getOriginalOwner"]["assignedTeamId"]]Owner: &[global["flowcoderefs"]["getOriginalOwner"]["ownerId"]] You just need to ensure that the Result References are not duplicated anywhere in the Workflow. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now