When an interactive (asynchronous) WindowsWorkflow launched from scripting is correctly terminated an "OnWorkflowEnd" event is fired. For example, to refresh the page after crop, use this code:
Public Overridable Sub OnWorkflowEnd(WFName As String, Result As GNClient.WFResult) Implements IEditorialEvent.OnWorkflowEnd
If WFName="Crop"
Fred.ImgRefresh(True)
Page.ViewRedraw()
End If
End Sub
The workflow result is also provided.