In complex processes unexpected errors can happen. The interactive mode allows you to define automation processes which, in different situations, can react different to errors.
Use interactive mode
- When parts of an automated process sometimes fail.
- An operator should be able to manually resolve errors and resume the processing.
- The same process sometimes also runs unattended.
The interactive mode feature is implemented as a Wrapper.
Importing the Wrapper bundle will provide you with a wrapper called
When a flow which has the
interactive wrapper attached is started:
As all wrappers, the
interactive wrapper can be statically attached and configured. Please refer to Static Wrappers for more information.
interactive wrapper can be dynamically attached and configured. Please refer to Dynamic Wrappers for more information.
The most common usage is to statically attach and configure the
interactive wrapper to a flow or connector. This way all executions of the flow or connector will allow interactive operations in case an error occurs.
interactive wrapper provided by Cloudomation is considered an example which can be extended or modified to your needs.
interactive wrapper accepts the following parameters:
|After how many minutes without user activity the user is considered "offline".||no|
|If executions of previous tries should be archived.||no|
Starting a flow which can be restarted interactively
def handler(system: flow_api.System, this: flow_api.Execution):
return this.success('all done')