What's new in Customer Journeys?

Connect and learn more! ×
filter workers by the current assignment status — Cloud Customer Connect
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

filter workers by the current assignment status

Received Response
22
Views
1
Comments

Summary:

My aim is to filter workers by the status of their current assignment.

Content (please ensure you mask any confidential information):

hi ,

my filter is like this-

 {

          "op": "$eq",

          "attribute": "workRelationships.assignments.AssignmentStatusType",

          "value": "{{$page.variables.assignmentStatus}}"

        },

but what happened is that the filter check if there is one of the assignments that has that status,

what i want to have on the attribute-

workRelationships.items[ $functions.maxRelation( workRelationships.items) ].assignments.items[0].AssignmentStatusType;

(maxRelation finds to m the current relationship)

but it dosnt work.

how can i filter by a spcific item of the workrelationship?

thank you very much!!

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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