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

Update of global assignment PrimaryFlag from update of PrimaryAssignmentFlag not working from REST?

Accepted answer
52
Views
2
Comments

Summary:

In my organisation we need to end assignments automatically by calling the REST API. We are using the "endAssignment" action.

We are having trouble making the endAssignment functionality work in cases where the assignment we are ending has another assignment as an immediate successor assignment within the same period of service. The constraints on 'primaryFlag' and 'primaryAssignmentFlag' seem to prevent us from making this work, since the automatic update of the 'PrimaryFlag' from the 'PrimaryAssignmentFlag' seems not to happen.

Content (required):

A short description of the starting state and what we are trying to achieve:

1) The worker has two assignments, we can call them A and B.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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