Need to show some custom messages in Assistant during robot running from the coded workflows. Seems ReportStatus only available in workflows. Thanks.
Replying just to keep this alive. I only found this document on ReportStatus, which didn’t mention about usage in codedworkflows. So I guess it’s not supported.
https://docs.uipath.com/activities/other/latest/workflow/report-status
By find it a bit strange. Coded workflows not considered as workflow? If yes shouldn’t it be treated the same?
Anyone? I’m surprised I’m the only one interested in this.
Or to put it in a different way. For your robot, when the user triggers it from UiPath Assistant, how do you display progress information to the end user? Except for using the Assistant’s Job panel?
Also for the ReportStatus activity, whenever I call it, I also want the message to appear in the Log, or at least like Console.Writeline. But now I have to repeat the Log Message message below it. Is there a way to combine these two in one activity? Do I need to create my own custom activity for it?
Thanks.
Just an update after a while. Still haven’t managed to get it work. Latest code I tried:
using System.Activities;
using UiPath.Core.Activities;
…
(In the Execute function)
ReportStatus reportStatus = new()
{
StatusText = new InArgument(“Test from coded workflow”)
};
_ = WorkflowInvoker.Invoke(reportStatus);
When exeucted, there’s no exception. But when I checked the Assistant the message was still not shown