Hi All, i have to let user to input from splunk timefilter option itself within 10 seconds if not entered in 10 second it has to exit the execution. seeking your expertise on how to achieve it.
Hello @Sathish_Ashokan
Sequence Name: SplunkUserInput
-
Delay Activity
- Duration: 10000 (milliseconds)
-
Get Queue Items
- QueueName: “YourQueueName”
- Filter: “CreationTime >= DateTime.Now.AddSeconds(-10)”
-
Flow Decision
- Condition:
queueItems.Any()
- Condition:
-
If Condition is True (Input Received)
- Process the user input based on your requirements.
-
If Condition is False (No Input)
- Terminate Workflow Activity
- Specify a message to indicate that no input was received.
- Terminate Workflow Activity
Thanks & Cheers!!!
@Sathish_Ashokan
is timefilter a textbox?
if it is you can do something like this…
- delay 10 seconds
timespan.FromSeconds(10) - get text of timefilter
- if its empty, do nothing to exit, else continue
thanks it works but how to exit if no selection? and also aaname will be last 1 minute as it is default selection so it wont be empty sir how to find aaname other than 1 min

@Sathish_Ashokan
try use get text activity to read the value of the dropdown
in the selector click open ui explorer

or

then in the selector remove the properties e.g. aaname/text etc… because the value can change
now that you have the text value, check if text value = default, if yes then exit
thanks alot for detailed answer, how to exit in btw the sequence if it is loop i can use break here its in the main sequence.
yes you can @Sathish_Ashokan
How to exit from main sequence? what activity we need to use?
terminate workflow activity
you have a try activity without catch,
click add new exception

select system.exception



