Something like a POST_QUEUE Hook-Point?
I have to execute an custom activity after a SFC was added to the queue of a specific operation. The operator may not have to press the start button, therefore the PRE_START hook point will not do.
Is there a something like a POST_QUEUE hook point or another way to do this?
Another idea is to use the POST_COMPLETE hook point of the previous operation. But is the SFC already added to the queue of the next operation when the hook activity will be executed?
Sergiy Katerinich replied
I guess that POST_COMPLETE should be executed before selecting the next step. The simple test is adding any check (CT520 or DC520) at POST_COMPLETE and having several outgoing paths from the current operation. In such case, I would expect the application to validate the check activity and if successfully finished, then asking the user to select one of the available next steps.
Another item to think about is that the routing step has an option as to which operator should define the next step: current operator or the next operator.
If there is only one way from the current operation, I would use POST_COMPETE.
Of there are several ways, you could trigger the activity from routing step script, though it is not recommended for production actions.
Message was edited by: Sergiy Katerinich