I have a Process (kicked off by a macro), in which I’m trying to get the handle of a certain classic workflow, in order to update the status via Update Object. The template I’m using is listed below:
|10||Group Start Task|
|30||Group End Task|
|40||Group Start Task|
|50||System Access (PAM)|
|60||Group End Task|
I am able to update the status of Sequence 20 without an issue using “Process.Select_Object_2.SelectDataResponse.UDSObject.Handle.text_” for the Object handle, but cannot update Sequence 50 to save my life. I am pulling in the workflow attributes via a Select Object operator, and I drilled down to the UDSObject of the SelectDataResponse to validate that I was grabbing the handle for the correct sequence. I’m using Process.Select_Object_2.SelectDataResponse.UDSObject.Handle.text_, but each time I run the process I get an error that says “Error setting attr 'status' on object 'wf:739036' to value 'SKIP'”.
If I’m getting back 6 responses, and the following is true…
Process.Select_Object_2.SelectDataResponse.UDSObject.Handle.text = Seq 10
Process.Select_Object_2.SelectDataResponse.UDSObject.Handle.text = Seq 20
Process.Select_Object_2.SelectDataResponse.UDSObject.Handle.text = Seq 30
Process.Select_Object_2.SelectDataResponse.UDSObject.Handle.text = Seq 40
Process.Select_Object_2.SelectDataResponse.UDSObject.Handle.text = Seq 50
Process.Select_Object_2.SelectDataResponse.UDSObject.Handle.text = Seq 60
…then I have no idea why the handle I’m using would be incorrect?? I have another Update Object operator in which I'm also getting an error trying to update the same Sequence, so that's why I'm thinking that the handle may be the issue. What am I missing? Please help!