You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

GetRepresentative does not return required AOR

Summary:

There are two representatives with the AOR type '****_REP'

First AOR's user name: mary@test.com

Second AOR's user name: john@test.com


Adding the below condition in an approval rule:
Task.payload.Requestor's Assignment.result.username == GetRepresentative("****_REP",Task.payload.Worker's Current Representative.result)]

Requestor is john@test.com

GetRepresentative is always returning only 'mary@test.com'

—————————-Is it possible to retrun all representatives to use a in condition something like:

Task.payload.Requestor's Assignment.result.username IN (dynamic function to fetch all matching AOR's)

using GetAllRepresentatives function ends in error

Content (please ensure you mask any confidential information):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!