This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Read Parameter from Workflow inside Library Script?

I created an easy workflow with one approval activity.

In the worflow options on the top we can define some parameters, which I did.

Now inside the approval activity, in the "approvers" section we can "designate approvers". On the bottom we can say "users or group specified by script".

Now we can "only" choose library scripts. Inside the library script, I am not able to read the defined workflow parameters like described in the SDK (but it works with policy scripts):  $parameter = $workflow.Parameter("meinParameter")

the workflow object is empty. So the question is, how can we access the defined workflow parameters inside a library script from a approval activity?