ExecuteObject.setInstanceParameter() is an option to add additional paramters to a task. The parameters will appear in the details window of the corresponding task. It's a kind of tagging. In fact it is used from the SAP Solution Manager integration but not restricted to it.
That’s helpful information. Thanks.
The documentation does mention that the parameters set this way appear in the details of the task, but think the description is not specific enough. It should be made clear that these parameters are not the same thing as UC4 object variables, that they are intended only as a form of tagging, and that they cannot be used the UC4 job (e.g, in UC4 scripting commands in the Process tab).
I presume that there is no UC4 scripting command that does the same thing as ExecuteObject.setInstanceParameter().