I want to set a condition where if the requestor o...
# ask-stanley-ai
n
I want to set a condition where if the requestor of the transaction is the current user is the supervisor of the user that created the transaction, I want the 'Approval button' to appear
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that you can set up a workflow in NetSuite where the 'Approval' button appears based on the role of the user. This can be achieved by setting a condition on the action where you add the 'Approve' button. The condition should be such that the button is only exposed for the user role required. Here is a general idea of how you can set this up: 1. In your workflow, go to the state where you want to add the 'Approve' button. 2. Add an action to this state. The action should be of type 'Button'. 3. In the 'Button' action, set the label to 'Approve'. 4. In the 'Conditions' section of the 'Button' action, add a condition where 'User Role' equals the role of the supervisor. 5. Save your changes. This way, the 'Approve' button will only appear if the current user's role matches the role specified in the condition. Please note that this is a general guide and the exact steps may vary depending on your specific workflow setup. ****** 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.830396
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828347564
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826242805
Please provide your feedback on this answer.