Congratulations on winning the hackathon Grand Prize of Excellence in RPA!
New Version available on the Gallery containing few improvements including (but not only)
- Rework of the activity UI to facilitate the Form files creation
- Possibility to pass data argument to be accessed in the Invoked workflow (Included Form_Onload)
As always, happy to get feedback to reach something stable to upload on GO
Thank you so much for this package.It is turning out to be great help in UiPath.
I needed a help of yours regarding this package. I need to check if we can use a form inside UiPath(SyForm) to input few values from user and click “Submit”. This click will invoke an api call (sample google api for weather forecast) get the response from api and show on the form, and trigger a bot(RDA) and this response from api will be treated as inputs to the bot.
Please advice on this.
I built you simple example using openweathermap.org API.
The only configuration you have from your side is to be connected to an Orchestrator having a queue called “WeatherQueue”.
The way you will use it is the following:
- Select a City (either via dropdown or enter directly on the field)
- Click “Get Weather Button”, It should return you the weather result on the table bellow
- Once you have the result, Click submit, then for will then close and add your queue item.
Note that it would technically be possible to not have the form closing while adding the queue Item, but the Orchestrator API using HTTP request activity will be required, as Invoke workflow by click cannot call UiPath core activity (such as Orchestrator ones).
SyFormsWeather.zip (17.1 KB)
Let me know if you have any questions.
Firstly thank you so much for your great help and precious time.
I tried your example and to keep the form open while adding the items to the queue i called an Orchestrator API using HTTP request request.
Initially for the practice i callled Orchestrator API request but i got the error below.Can you please let me know how to resolve it and keep the form open.
It seems like you are missing the authentication part for making the request.
there are many example of use of the orchestrator API on the Forum.
This post from @Susana on using the obtained token later on your request may be helpful
thanks for the link…will try this in the syform activity as i need to keep the form open while adding items to the queue.
Just wondering if this it’s also possible to link one of these input field to a secure string password? I haven’t found out how to do this.
If you intend to enter a password on the form and have it accessible as SecureString you can.
- Set the property of the textbox on the form with “UseSystemPasswordChar”
- Convert afterward your string to SecureString using the trick bellow.
I am attaching you a basic example of it, hope that will help.
Thanks for creating such a useful Activity. I have used this activity to create one form .
I have given it two buttons Ok and cancel along with that i have made “Expose as argument” field true for both the buttons , but the issue is if i click ok button cancel also gets expose as argument can you help me with the issue.
does the post above where I replied to @KDJ helps?
First thanks for the feedback Appreciate it!
What are you trying to achieve while using expose as argument for buttons?
Expose as argument is used so you can access the control later when the form closes as a variable on the workflow, via the Controls button of the show forms activity (see bellow).
The is generally used for controls having a value inside such as textboxes or dropdowns.
Sorry for getting back to you this late. It’s awfully impolite of me. So apoligies are due.
This was very useful for me, so thanks a lot! I managed to get a secure.string by using the above method. This can be marked as solved!
Hello every one,
It is awesome package, it found the interesting idea. However, i have a problem with configuration “IsClosingForm”, the form isn’t closed if i click on the button. Could you please give me any suggestion?
Thanks for letting me know.
I made some quick hotfix on the version bellow I believe some days ago for someone, I think it was including this bug fix.
This version is not yet available on Go! nor the gallery.
I test this version on Uipath Studio, and notice that when you are in design mode this also close the window.
Please could you confirm if there is a new version?
Thank you Florent_Salendres,
I will make a test on your new package.
How exactly do I implement this hotfix? Thank you!
Okay nevermind I got it to work by reinstalling Syforms using the hotifx you attached. Form is now closing using submit button, thank you!