07-25-2013 01:04 PM
Hi,
I created a sequence which launches two new executions. These 2 executions can be seen as 2 branches, each one calling a specific subsequence in the same file. These 2 branches are launched as 'new execution' because one can pause the other (which is not possible if these 2 branches are launched as 'threads').
I do not want my 2 'branches' to execute any entry points because all necessary info (identification, report options, etc...) are already get from the main sequence (the caller). So the sequence calls are set to launch the subsequences without any process model.
The problem is that my process model callbacks are not triggered by these 2 'branches'. Only the caller trigger them.
Is there any way to force my 2 'branches' to trigger my process model callback ?
Solved! Go to Solution.
07-25-2013 03:53 PM
07-25-2013 04:14 PM
Hi Juergen,
Now I need the Poststep and PostStepFailure callbacks... But I may need the others after... I'm building a TS UI, so I may need other callbacks for future needs.
07-26-2013 01:18 AM
07-26-2013 02:13 AM
Hi Juergen,
Thank you for the examples. Yes, it looks to something like this. But the callbacks I want to trigger are processmodel callbacks.
My TS UI has to display some info with any kind of sequences that my customer will play. So I can't ask him to modify its own sequences files to add a SequenceCallbacks.
07-26-2013 03:42 AM
Hi,
if no modifications allowed, you have to provide a processes model that is aligned with your UI.
I have no idea how to implement such a feature without modifiying the model.
Let's hope the blue one knows something more...
Regards
Juergen
07-26-2013 04:17 AM
Hi Juergen,
I found the solution. Indeed I've a customized process model. So I continued customizing it adding a new EntryPoint. In this entry point I added a simple call to the subsequence I have to run as a new execution.
In my MainSequence, my seqcalls are parametrized to execute a new execution with client file process model, the entry point is set to be the newly created EntryPoint, and set to use the current file. This new entrypoint as 1 parameter : the name of the subsequence to run.
That way my process model is still in use, so my new executions have access to my process model callbacks.
Thank you for your kind help !