Custom Column (in view) access to User Profile data through javascript

#1

Trying to display fields from the Participants user profile (i.e. department field) as a custom column.

0 Likes

#2

Hi @asullivan78,

The columns in the view can only display data of the form. It does not display participant information.
What you can do is create hidden fields in the form where you can macro IN the participants’ information and OUT the values to a couple of data where you can display them in the view.

Regards,
Eddy.

0 Likes

#3

Hi Eddy,

We have tried the solution you suggested however we have found the only way to Macro In the participants name is to actually launch the current action. Is there a way to populate a field with participant name even though the current action hasn’t been launched (the action has already been assigned).

Thanks,
Andrew

0 Likes

#4

Hi @asullivan78,

Definitely - You can use any API (GraphQL, Webhooks, SOAP) to update the process data of a request at any time.

Method UpdateProcessInstance using the SOAP WS:

https://docs.workflowgen.com/v7144/api/html/20c3b0e1-4985-1421-2df5-fa3149a2c0e5.htm

Method updateRequestDataSet using GraphQL:

You can find an example using that method in this article:

Method updateRequestDataSet using Webhooks:

https://docs.advantys.com/workflowgen-integration-guide/incoming-webhooks#update-request-dataset

Regards,
Eddy.

0 Likes