Navigation From and To Worker Assignment
The Worker Assignment object is a part of Employment and closely linked to the When and Why object.
In addition to directly using this object for defaulting and validating, you can also use it as a criteria to achieve other defaulting and validating in objects that are called in subsequent regions involving the Employment Details region.
From Other Objects to Worker Assignment
This table lists the objects that you can navigate from to the Worker Assignment object.
From Object |
How |
Purpose |
---|---|---|
Salary |
Use row variable (variant 2) |
To check for Work Assignment attributes and other objects that can be accessed. After accessing Assignment, the remaining rule needs to be encapsulated under first - If Assignment_Row is NOT NULL and inside that an IF condition, the remaining rule must be under the condition - "If WorkTermsAssignmentId NOT NULL". You need to have this condition before declaring any further row variables from Assignment or use any of the related fields. This prevents any issues during a "Move to HR" from Offer Accepted where the required links between objects may not be available. |
Assigned Payroll VO |
multiple row variables (each of variant 2) |
To check Worker Assignment attributes and other objects that can be accessed. You need to add multiple row variables for this. After accessing Assignment, the remaining rule needs to be encapsulated under first - If Assignment_Row is NOT NULL and inside that an IF condition, the remaining rule must be under the condition - "If WorkTermsAssignmentId NOT NULL". You need to have this condition before declaring any further row variables from Assignment or use any of the related fields. This prevents any issues during a "Move to HR" from Offer Accepted where the required links between objects may not be available. |
Assigned Payroll DVO |
multiple row variables (each of variant 2) |
To check Worker Assignment attributes and other objects that can be accessed. You need to add multiple row variables for this. And after accessing Assignment, the remaining rule needs to be encapsulated under, first - If Assignment_Row is NOT NULL and then inside that an IF condition. the remaining rule must be under the condition "If WorkTermsAssignmentId NOT NULL" . You need to have this condition before declaring any further row variables from Assignment or use any of the related fields. This prevents any issues during a "Move to HR" from Offer Accepted where the required links between objects may not be available. |
Payroll Assignment |
No access |
You can't access the Assignment object from this object because it's created before the Assignment object. |
Payroll Terms |
No access |
You can't access the Assignment object from this object because it's created before the Assignment object. |
Work Relationship |
row variable (variant 2) |
To fetch the primary assignment related to a given work relationship. After accessing the Assignment object, the remaining rule needs to be encapsulated under the "If WorkTermsAssignmentId NOT NULL" condition. You need to add this even before you declare any row variables from Assignment or use any of its fields. |
Position |
row variable (variant 2) |
To check for logged in user assignment details along with other related objects for the logged in user assignment. |
Person |
rowset |
To check all assignments of all work relationship associated to the Person and subsequent related objects for this assignment. After accessing the Assignment object, the remaining rule needs to be encapsulated under the "If WorkTermsAssignmentId NOT NULL" condition. You need to add this condition even before you declare any further row variables from Assignment or use any of its fields. |
Get Offer |
row variable (variant 2) |
To fetch the offer details to the worker assignment business object. |
To Other Objects from Worker Assignment
This table lists the objects that you can navigate to from the Worker Assignment object.
To Object |
How |
Purpose |
---|---|---|
All Lookups and 1:1 workforce structure and employment setup objects |
row variable (variant 1) |
Attributes of lookups and subsequently their corresponding extensible flexfields (EFFs) (via a rowset definition thereafter) |
Action Occurrences |
row variable (variant 2) |
To access only one applicable row related to current Assignment in the context of the current action from When and Why object to use as criteria |
Work Relationship |
row variable (variant 2) |
To access only one applicable row related to current Assignment in the context of the current action from Work Relationship object to use as criteria |
Logged In User Assignment |
row variable (variant 2) |
To access details of logged in user assignment to use as criteria |
Existing Assignment |
row variable (variant 2) |
To access the previous state of assignment prior to changes due to the current action in progress to use as criteria |
Existing Work Relationship |
row variable (variant 2) |
To access the previous state of work relationship prior to changes to it due to the current action in progress to use as criteria |
Person |
row variable (variant 2) |
To access the parent Person object related to the person involved in the current Assignment to use as criteria |
People Group |
row variable (variant 2) |
To access the People Group details (key flexfield) of the current assignment to use as criteria |
Line Manager |
row variable (variant 2) |
To access the Line Manager of the current assignment to use as criteria |
Assignment Extra Info |
rowset |
To access and iterate over all assignment extra info entries to use as criteria; Note that if the Assignment Extra Info is managed during the current action in a region subsequent to the Assignment, this won't work as when you leave the assignment region the values of the Assignment Extra Info that user will enter in the subsequent region isn't yet known. |
Assignment Supervisors |
rowset |
To access and iterate over all assignment supervisor entries to use as criteria; |
Work Measure |
rowset |
To access and iterate over all work measure entries affected as a result of the current assignment change still in memory, to use as criteria; this type of access has to wait until an upcoming fix the timing of save of Work Measure Object in an upcoming release; Currently this object is saved only during Submit and traversing on exit of Assignment region will fetch stale values. For FTE sampling, you may use fteValue hcmParam. This is also stated in the Exceptions and Recipes below |
Existing Assignment Supervisors |
rowset |
To access and iterate over all existing (before prior action) assignment supervisor entries to use as criteria; |
Existing Assignment Work Measures |
rowset |
To access and iterate over all existing (before prior action) assignment work measure entries to use as criteria; |
Other Active Assignments |
rowset |
To access and iterate over all other active assignment for the current work relationship to use as criteria; |