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

BPM error-RUL-05721: The result type of the expression is "String" but should be "List"

Received Response
91
Views
1
Comments
edited Jan 20, 2023 6:21AM in Workforce Management 1 comment

Summary:

Hello,


I am trying to use this condition in BPM for absence approval task for checking if the 'Regional manager' is active:


GetManager("REGIONAL_MANAGER",Task.payload.getRequestorInformationByUserNameResponse.result.assignmentStatusType) IS ACTIVE


It give me following error:


RUL-05721: The result type of the expression is "String" but should be "List".


RUL-05717: The identifier "ACTIVE" is not valid here.


Similar expression below works fine:


GetManager("REGIONAL_MANAGER",Task.payload.getRequestorInformationByUserNameResponse.result.requestManager) is ""




Please help.


This is to solve the problem of awaiting approval status when the local manger is inactive.


Thanks.


Content (required):


Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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