Jump to content

Anyway to assign a request back to the initial owner?


Adrian Simpkins
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...