I’m facing an issue to read a value from UiPath workday - launch eib IntegrationEvent Output variable.
See attached image for variable type and the value i want to read is the “a428838…0000”
Using Log Message, i get this output “UiPath.Workday.Integrations.EventObjectIDType”
Unable to cast as string: CType(IntegrationEvent.Background_Process_Instance_Data.Parent_Event_Reference.ID.SyncRoot,String)
Unable to cast as enumerable:
CType(IntegrationEvent.Background_Process_Instance_Data.Parent_Event_Reference.ID.SyncRoot,IEnumerable)
Unable to deserialize JSON also from the output
Hey @dhashil.bhiwoo
You want to get some specific property out or the entire object as string.
Please let me know.
Thanks
#nK
ppr
(Peter Preuss)
3
we would assume that with the common . and (X) Syntax it can be navigated to the EventObject…
Had you tried within the immediate panel
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum
A DirectCast on
Background_Process_Instance_Data.Parent_Event_Reference.ID(0).SyncRoot ?
Keep in Mind adterwards, once Object is cast to propertype then we continue the . access with (0).Value
Hello ppr,
I was able to access the Object value using .ElementAt(0).Value and it worked!
Thanks 