what context and triggers do I need in a workflow ...
# ask-stanley-ai
t
what context and triggers do I need in a workflow to check a field (Use Bins) when a user goes to either edit an existing item, or opens the form to create a new one
c
AI generated answer (using internal Slack threads):
In order to check a field (Use Bins) when a user goes to either edit an existing item, or opens the form to create a new one, you would need to set up a workflow in NetSuite with specific contexts and triggers. The context would be 'User Interface' as this is the context in which the user is interacting with the form. This context ensures that the workflow is triggered when a user is either creating a new item or editing an existing one through the UI. The trigger would be 'Before Record Submit'. This trigger is fired when the user submits the form, either when creating a new item or editing an existing one. This allows you to check the 'Use Bins' field before the record is saved. Here is a basic outline of how you might set up the workflow: 1. Create a new workflow. 2. Set the 'Record Type' to 'Item'. 3. Set the 'Trigger Type' to 'Before Record Submit'. 4. Set the 'Contexts' to 'User Interface'. 5. Add a 'State' to the workflow. 6. In the 'State', add an 'Action'. The 'Action' should be 'Set Field Value' and the 'Field' should be 'Use Bins'. 7. In the 'Conditions' for the 'Action', you can specify the conditions under which the 'Use Bins' field should be checked. Remember, this is a basic outline and you may need to adjust it to fit your specific needs. ****** 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.823852658
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817199767
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.814209104
Please provide your feedback on this answer.