The process that is executed only at the end of the workflow

I want to create a process that runs only at the end of a workflow.
But I don’t know how to do it, so I can’t create it.
Can anyone please tell me how to do that?

@f.hika

Could you give more details about your process?
Add screenshots / details for more understanding

Thanks

Currently, we are performing the “initialization, execution, termination” process in one activity. However, since there are slow processes at initialization and termination, I want to prevent the execution time from slowing down by executing them together in Execute. However, if possible, I would like to create “initialize, execute, end” as an activity without dividing it.
Is there any other way?

@f.hika

Re-Framework states are just a template, so if you want only to execute few parts in your process, then instead of breaking the states, you can divide your process into Dispatcher, Performer concept

Dispatcher → This will be created until your process post the queues to the orchestrator
Performer-> This will get the queues from the orchestrator and process this

This model will work if you have more data to process or slow running processes also

Hope this may help you

Thanks

Thank you for your answer.