Example: Create a Calculated Field with the Deployment Agent in Implementation Environments and Customer Central
This example shows how a Deployment Agent user uses a CRAFT prompt to generate logic for a
Conditional Management Level
calculated field.You are a Workday administrator and configuration specialist. You want to use a calculated field to categorize workers into 2 specific groups, Manager or Individual Contributor, based on your existing management level hierarchy. You need to categorize workers as Manager or Individual Contributor so that you can:
- Enhance custom reporting and dashboards: Use this field to group data in summary reports, enabling executives to see high-level workforce distributions without getting bogged down in dozens of specific job grades.
- Streamline outbound integrations: When you send data to external systems (like an LMS or benefits provider) that only recognize simple management statuses, use this field to map your complex internal hierarchy to the simplified values they require.
- Drive business process condition rules: Use this field to initiate specific workflow steps. For example, you might create a rule that requires an additional approval level only if the worker’s status isManager.
- Automate security group assignments: Use the results of this field to define the scope of constrained security groups or to help automate membership in integration system security groups.
- Perform data audits: Use this field to identify data discrepancies, such as finding individual contributors who are incorrectly assigned as managers of a Supervisory Organization.
- Have access to the Implementation, Preview, or Sandbox tenant with theDeployment Agenttask available in global search. See:
- Ensure your user account has the necessary permissions to create calculated fields in your target non Production tenant.
- Sign in to the Implementation, Sandbox, Preview, or Customer Central.
- EnterDeployment Agentin global search and select theDeployment Agenttask to access the ASOR-enabled Deployment Agent that is tenant-aware (if the Tenant Inspection skill is enabled).
- Use the CRAFT method to provide a clear prompt that defines your role and the context of your request, including the conditional logic you need.Your prompt:I am a Workday administrator. I need to create a calculated field on the Worker business object. The logic should be: if a worker's 'Management Level' is 'Manager' or any level above that (like Director or VP), return the text 'Manager'. Otherwise, return 'Individual Contributor'. Can you provide the step-by-step [Format] configuration and the specific calculation type I should use?
- Review the logic.The agent analyzes the request and typically suggests an Evaluate Expression function. It provides the configuration parameters you need to enter in theCreate Calculated Fieldtask in Workday:
- Business Object: Worker.
- Function Type: Evaluate Expression.
- Default Value: Individual Contributor.
- Condition: Management Level (using anIn Selection Listoperator).
- Return Value if True: Manager.
- (Optional) If your organization uses unique naming conventions, you can ask a follow-up question. Your prompt:My tenant uses 'Lead' instead of 'Manager'. How should I update the condition to include 'Lead' and everything above it?
- Review the suggested logic against the specific management level hierarchy of your tenant to ensure all levels are captured correctly.
The Deployment Agent provides you with the structural logic and specific functions needed for the field. This eliminates the need for you to manually browse the Administrator Guide to determine which calculation type best supports if/then/else text strings.
Once the Deployment Agent provides the steps, access the
Create Calculated Field
task to implement the logic. After building the field, use the Thumbs Up
or Thumbs Down
icon to rate the accuracy of the logic provided.