Is it possible to identify in a workflow status fr...
# ask-stanley-ai
r
Is it possible to identify in a workflow status from which button I arrived?
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that it is not directly possible to identify in a workflow status from which button you arrived using SuiteScript. However, there are a few workarounds that you could consider: 1. You could modify your workflow to set a field(s) on the record. This could be used to track the button that was clicked. 2. You could use JavaScript to work with the browser DOM. This would involve capturing the button click event and storing the information somewhere accessible. 3. If the button was added via a workflow, you could add a condition on the action to determine when it should appear. This could be used to infer the button that was clicked based on the state of the workflow. 4. You could create a custom workflow action that calls a Suitelet where users enter their input. The Suitelet could also save the input to the record. This would allow you to capture the button click event and store the information. 5. You could also consider using a checkbox that you set along with setting a field in the record. The workflow could then use this flag to transition or not. Remember, these are just workarounds and may not work in all scenarios. Always test thoroughly before implementing in a production environment. ****** 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.835517228
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824368179
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817989171
Please provide your feedback on this answer.