10-11-2020 09:17 AM
Hi,
I would like to populate the field workflowDescription based on the result of the workflow to have it reflected in the dashboard under Description or Message.
Any idea how to do that?
Thanks
Mig
Solved! Go to Solution.
10-12-2020 01:32 PM
Hello Mig,
as far as I know the “General” description can’t changed in the workflow at runtime:
But you can use the buildin variable “workflowMessage” (available on the dashboard, too). If you do not the this column on the dashboard you can change the behaviour in the column header.
To write the variable use the following python command in your workflow:
msg = "Thats my message"
emc_results.put("workflowMessage", msg)
There is a variable “workflowDescription”, too. But I think this is not shown in the Dashboard. It’s not the same like the Info in the screen above.
Regards
Stephan
10-12-2020 01:51 PM
Stephan,
You made my day!!
Thanks
Mig
10-12-2020 01:32 PM
Hello Mig,
as far as I know the “General” description can’t changed in the workflow at runtime:
But you can use the buildin variable “workflowMessage” (available on the dashboard, too). If you do not the this column on the dashboard you can change the behaviour in the column header.
To write the variable use the following python command in your workflow:
msg = "Thats my message"
emc_results.put("workflowMessage", msg)
There is a variable “workflowDescription”, too. But I think this is not shown in the Dashboard. It’s not the same like the Info in the screen above.
Regards
Stephan