Hi,
I have created a UiPath App which start an UiPath Process
My process do the following.
- Open google chrome browser.
- Go to “administration” website.
- Enter Login and password
- Website display an “Authorization number” which user needs to enter into its mobile phone.
I want to pass this “Authorization number” to UiPath App so it will be displayed and user may read it on screen.
My process is unattended.
I have found a way to pass interim results for attended robot but not for unattended.
Package UiPath.WorkflowEvents.Activity works only for attended robots
Could anyone has ideas how to do it ?
Kind regards
Hi @mateusz.wojcik ,
What activity in this package you need to use?
I see your requirement, sequence with activity can complete
if/else, switch case,… they are similar with flow
regards,
@Nguyen_Van_Luong1 I do not know what kind of activity I need to use.
That is why I wrote this post.
This is what I want to gain:
“I want to pass this “Authorization number” to UiPath App so it will be displayed and user may read it on screen.”
Kind regards
I think we can use activity instead of using workflow,
workflow have if else as tree, flowchart
that’s right?
to show with condition, you can use if or if/else , switch case activity
can you share workflow as image, step-by step, I will code demo for you
regards,
@Nguyen_Van_Luong1
Thank you for you commitment but I do not think you understand what I want to archive.
The question is not whether to use activity or workflow.
The question is how to pass data from a process to UiPath App befor the process finish work.
@mateusz.wojcik As per my knowledge Interim Result is not supported in Unattended Jobs.
Reference Docs:
- https://docs.uipath.com/activities/other/latest/workflow/send-interim-result
- https://docs.uipath.com/activities/other/latest/workflow/workflow-events-progress-bar
What you can do for unattended is:
- Run a process on click of button
- At the end of the execution send that code to user
- Once user submit the code at that data to queue and
- Have a queue trigger-based process running and then you can continue the execution.
Let me know if this helps or if I missed something from what you plan to implement.
@Parth_Doshi that is what I was afraid of.
Thank you for confirmation.
I have changed process and use different authorization tool. It is no longer needed to pass interim result for this process
Thank you
Please do mark it as a solution if you believe that’s a valid reason for your query, so that if some other user is trying to do something similar has the solution for it.
Actually it is not a solution to my problem.
Currently UiPath has no option to send interim result on unattended process.
The issue is still valid but I do not think UiPath will add this option in near future
Does it need to be interim results? I think your case could be solved by exposing the “Authorization number” as an Output argument in your unattended process. Per the documents, this should be passed to Apps.
Apps - Data Flow Between UiPath Apps and Orchestrator - https://docs.uipath.com/
Apps - Referencing a Process From Orchestrator - https://docs.uipath.com/
If I do pass the authorization code by the end of the process another process may start working while use will use write the code. On my virtual machine there are more than 1 process running.
Moreover the code has to be passed immediately otherwise there is a change it will no longer be valid.
As I was not able to write the process this way I decided to change authorization method and right now the process is fully automated. I use WinAuth application