Scenario
User wants to be able to auto-populate the Expiration Date on an Assembly Build transaction to save time from manually inputting the value from time to time.
Solution
To be able to auto-populate the Expiration Date on an Assembly Build transaction, we will need to create a custom field and a workflow.
1. Create a Custom Field
- Navigate to Customization > List, Records & Fields > Transaction Body Fields > New
- Label: Enter Expiration Date
- Type: Select Date
- Store Value: Remove Checkmark
- Applies To: Select Assembly Build
- Click Save
2. Create a Workflow
- Navigate to Customization > Workflow > Workflows > New
- Basic Information:
• Name: Enter Assembly Build Expiration Date
• Record Type: Select Transaction
• Subtab: Select Assembly Build
• Execute as Admin: Enter Checkmark
• Released Status: Select Released
• Keep Instance and History: Select Always
• Enable Logging: Enter Checkmark - Event Definition:
• On Create: Enter Checkmark
• On View or Update: Enter Checkmark - Click Save
- Click State 1
- Bottom right corner: Click New Action
- Click Set Field Value
- Basic Information:
• Trigger On: Select Entry - Parameters:
• Field: Select Expiration Date
• Value: Select Static
• Date: Select Current Date - Click Save