create workflow to set location on line items
# ask-stanley-ai
m
create workflow to set location on line items
c
AI generated answer (using internal Slack threads):
To create a workflow to set location on line items, you can follow these steps: 1. Navigate to Customization > Workflow > Workflows > New. 2. Set the record type to 'Sales Order'. 3. In the 'Initial State', add a new action of type 'Set Field Value'. 4. In the 'Set Field Value' action, set the 'Field' to 'Location' and the 'Value' to the desired location. 5. Add a trigger on the 'Before Record Submit' event. This workflow will set the location for all line items on a Sales Order to the specified location when the record is submitted. Please note that this is a basic example and may need to be adjusted based on your specific requirements. For example, if you need to set different locations for different line items based on certain conditions, you may need to add 'State' transitions and 'Condition' checks in your workflow. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83150661
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829710245
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828751087
Please provide your feedback on this answer.