on 2021 Oct 27 3:32 PM
Hi,
I have a problem in workflow with a binding of a value. We are collecting a value from the workflow header and binding it to several tasks in the workflow. The value in the header is constantly changing and it is showing the latest agent of a dialog step.
The binding we use looks like this: binding.png
The issue we are facing, as I understand it, is that upon workflow creation the value is empty, since no user dialog step has been executed. The binding seems not to allow empty values and WF ends up in error.
This is the error message we receive: error.png
I thought that it should be okay since we ticked in the boxes “No Action if Source Values is initial” and “ No Action if Source Value empty” in the Binding instruction display. I have never used them before so I am not really sure on what they do.
Do you guys have any idea on how to solve this?
BR
Ted
Request clarification before answering.
The "source" here is the ID attribute, but the system has trouble identifying the object it belongs to.
i.e. You have a chain obj1.obj2.attr. It can't determine if attr is empty because obj2 doesn't exist so fails.
You could bind the lastagent object, or create an additional element for just the ID and add another binding in the task that assigns it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer. I came to the same conclusion. The object we were using to show the last agent of a dialog step is a virtual object and only gets created once a dialog step is excuted hence the object does not exist when the workflow is started and no dialog step has been executed. Therefore the binding did not work, and we need to come up with another solution.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.