Page 1 of 1
Plugin [uitask]
Posted: 06 Oct 2018 04:33
by Rafi4
Hi
How can I change plugin UItask variables [utresult =user input] to global variable.
Thanks in advance
Re: Plugin [uitask]
Posted: 06 Oct 2018 05:26
by Desmanto
Why do you need UITask? What is the dialog type you need from it? For the dialog type not available in Automagic Input dialog, some of them can be triggered simply using action Start Activity.
The plugin should have "Provided variables", those you can assign to glovar later using script.
Re: Plugin [uitask]
Posted: 06 Oct 2018 09:14
by Rafi4
Hi
Desmanto how can I assign to glovar using script.give any example. I am using uitask plugin for colourful dialogs.input text and time and date in input dialog. In uitask plugin
Re: Plugin [uitask]
Posted: 06 Oct 2018 11:43
by Desmanto
Just try it out, and it has so many option. Take some time to customize it, seems not for me. But I understand why you use it.
After configure it, you have Provided variables a utresult. Simply assign this to glovar in script.
Code: Select all
global_nameofyourglovar = utresult
If you assign the button, you can also use the utbutton there. Just check the provided variables, or simply add condition debug dialog to see what variable you use from the plugin after inputing something to it.
Re: Plugin [uitask]
Posted: 07 Oct 2018 03:52
by Rafi4
Hi Desmanto
Thanks a lot for your help.
But I want to know about condition debug dialog. Give me one example.
Re: Plugin [uitask]
Posted: 07 Oct 2018 12:41
by Desmanto
You simply add the condition - debug dialog, after the plugin. Execute the flow as usual, input the value you want into the UItask and later the debug dialog will pop up and show you everything.
For detail, you can visit my debug dialog thread :
viewtopic.php?f=5&t=7262