Skip to content
Discussion options

You must be logged in to vote

Hi @Lucas-Eriksson , I am not sure if you already managed to find an answer but if another system is sending some form of data to vRO it should be available in the System context.
Here is a sample on how you should be able to get the information based on the variable name you provided:

		const context = System.getContext();
		const username = context.getParameter("_vdc_userName");

I haven't tried this personally for vCD but I've had similar cases with vRA when a Custom Catalog Item or a Day-2 operation is calling a workflow . Here is a sample on how I would get a vRA Machine ID in case I am calling a Day-2 operation on a Machine:

		const context = System.getContext();
		const props = con…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Lucas-Eriksson
Comment options

Answer selected by Lucas-Eriksson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants