Hello,
I have been trying to make a refresh function after the execution of a workflow, but I am not able to achieve this.
If I create a javascript based on a field change, it only works if someone is executing the action manually. However if this manual intervention is replaced by a workflow, the java script does not get triggered. That tells me I should probably invoke the javascript from the workflow, but I am not sure how to achieve this.
Example: I have a record type that I have enabled status transition and this record goes from Initial > Intermediate > Final. I have a workflow #1 that moves the record from Initial to Intermediate and another workflow #2 that moves the record from Intermediate to Final. In this case scenario, I have to execute the first workflow and manually refresh the page to see the that the status has changed.
Our goal is when we execute the workflow the page gets refreshed, just like it happens when we activate/deactivate a record. It automatically refresh the forms and it is visible that some modification has been made.
*This post is locked for comments