How to activate a document lifecycle from an operation?

Tabla de contenidos

 

 

To activate a document lifecycle from an operation, it must be installed from the operations library “op_start_lifecycle”.

 

Within the parameters, the name of the lifecycle to be activated must be filled in:

 

If what is required is to activate a parallel lifecycle, the name of the parallel lifecycle must be included in the parameters in the corresponding field.

 

The operation must be assigned in the corresponding processing state at the time it is required to be executed. For example, if it is required that the lifecycle run on document creation, it must be added in the POSTLOAD phase and once the document has been processed, the lifecycle will be activated.