11-26-2017 12:53 PM
Hi,
What i'm tryin to achieve is pretty simple :
We are trying to use model plugins to allow our clients to enable or not the traceability of their products.
What I am thinking here is that our model plugins would verify that the UUT is ready to be tested in with our traceability system and if not, I would like to fail the sequence without executing the MainSequence but I want the loop to continue executing after displaying the FAILED Banner message window as it does from the MainSequence.
If I make a Post Action in PreUUT Model Plugin that calls the PostUUT sequence, It calls it and then comes back to where it was, executing the MainSequence like I don't want to.
The problem I am facing is that I can't seem to control those things from the model plugin (which is my goal) because the process model belongs to our client and I want to avoid modifying his things unless I'm obligated to...
I would like to figure out a way to do everything from my plugin so I can deploy as a whole my model plugin.
I would like to avoid having to change some things outside of the model plugin.
Is there any way to achieve my goal ?
Solved! Go to Solution.
11-27-2017 01:23 PM
Here is the outline of a work around. It is a bit hacky, but seems to work ok with the SequentialModel. I didn't test it with other models, so it might require adjustments to support all models.
11-27-2017 01:31 PM
Hi ebonneau9,
As far as I understand you call the PostUUT, right? Instead of calling it use the Go-to-Step functionality of the Post Action.
Regards,
Jose F.
11-27-2017 01:47 PM
Actually, I hit PostUUT but the problem is that I already passed the MainSequence there.
I need to cancel the execution of the MainSequence if I feel it should not be executed in the Model Plugin UUT Start.
After, all it is needed is to report the display banner of a FAILED Sequence and go to the next UUT
Hope I help clear things out, I know it is an uncommon way of doing things but at this point it is much more about decoupling things from my client and our side.
11-27-2017 01:48 PM
Testing that right away!
I think that you pointed out a really interesting line of code which cancel the execution of a step!
I test that and if it does the job, I will accept this as the answer.
Thank you so far 🙂