I have a process that displays a Config Form and executes activities based on the selected values. These values are saved in a database and is retrieved when the process is restarted to act as default values in the Config Form.
I am planning to show this Config Form only when certain keys are pressed, say CTRL+S. When the process starts, if it detects a CTRL+S, it shows the Config Form, else, it will bypass the form and continue to the next process.
Okay. I’ve found a workaround by using the Parallel activity and using the trigger scope(set to OneTime) and a hotkey trigger activity.
When no key is pressed between the detection period, I triggered the hotkey using the SendKeys.SendWait(String) method and perform some evaluation to set the bDetected variable value.