Detect manual run of task

Post comments and suggestions for RoboTask here
Post Reply
Rukbunker
Posts: 192
Joined: Mon Feb 22, 2016 4:06 pm
Location: Netherlands

Detect manual run of task

Post 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.
PPX
Posts: 7
Joined: Sat Aug 25, 2018 11:11 pm

Re: Detect manual run of task

Post 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
Rukbunker
Posts: 192
Joined: Mon Feb 22, 2016 4:06 pm
Location: Netherlands

Re: Detect manual run of task

Post by Rukbunker »

I will try this, thanks for the idea.
Post Reply