The Refresh item after script has executed option allows you to refresh the item after the selected script has been executed. The option reloads the item information from the database, so everything about the item is refreshed, including keyword values, autoname strings, page, etc. This option is needed when Unity scripts are executed and the item or its properties are modified and the rules and actions that follow the script execution depend on the updates to the item. Using this option ensures that once the script completes, the current item is refreshed in Workflow to update any keyword data and other changes made to the item via the script.
args.ScriptResult is used to define whether the to run the OnTrue or OnFalse task list. The default value of args.ScriptResult = false.
Additionally, you can create a new script or edit an existing script by selecting the drop-down button next to the Script field. See Unity Projects for more information.