Page 1 of 1

Detect manual run of task

Posted: Wed Sep 05, 2018 8:22 am
by Rukbunker
Hey Oleg, me again ;)

Is there a possibility that Robotask can check if a task has been executed manually by the play button?
We are testing several tasks and if the task is run manually, the "emulation/testing/simulation" mode should be active and other variables should be used. As an example, a task generates by default a file. If the task is executed manually, the filename should be different instead of being executed or triggered the usual way.

Re: Detect manual run of task

Posted: Sat Sep 29, 2018 10:39 am
by PPX
I have been wondering this too, and here is how I have implemented a workaround -

1 - place a question dialog at start of task with text 'manual?' or 'are you there?' or something
2 - have the question dialog auto-select no after 2-3 seconds
3 - if yes is pressed, run manual settings in the task

can follow up question dialog (if yes pressed) with choice dialog to split task into differing sim modes

Re: Detect manual run of task

Posted: Tue Oct 02, 2018 11:57 am
by Rukbunker
I will try this, thanks for the idea.