How To Assign the Value for WorkerobjectType

Hi All,
Can anyone please help me to how to assign the value for “WorkerObjectType” datatype

currently am try to implement this datatype for workday process could anyone help to find the option.

Thanks in Advance.
Anitha Anandhan.

Hi @Anitha_Anandhan

Please try the following expression:

Dim workerObject As New WorkerObjectType()
workerObject.Name = "John Doe"

Hope this helps,
Best Regards.

Thank you @arjunshenoy
Could you please help me how we need to implement this value using Assign Activity?
Note: Am trying to use this in workday process.

Many Thanks,
Anitha Anandhan.

@Anitha_Anandhan

You can use the ‘Invoke Code’ activity & implement the same.

Best Regards.

Hello @arjunshenoy

Am encountering an error like "Name is not Member function "

If its possible, could you help me how we need to pass the “ID” value instant of “Name”.
Here am attaching the Image for your Reference.

Many Thanks,
Anitha Anandhan.