Jump to content

Variable picker information pulled into Authorisation Node Details


Recommended Posts

Hello,

I'm hoping someone can assist as I am attempting to pull through the full employee name into authorisation details section. This works as we want when the field appears on the intelligent capture form. However we have an internal control on the BPM for some instances where we would need to pick from a capture task field in a human task. With the latter scenario the name displays as first initial, surname instead of the full name (see below). For both pathways I am using &[global["flowcoderefs"]["getReqInformation"]["customFieldT"]] via the variable picker.

Is there any way for us to pull through the full name for both?

How we want it to display:

image.thumb.png.c9a35a73380f8cfad5f4cc0889ffbede.png

How it currently displays:

image.thumb.png.a6d48bd2587ff9f6b468c8b99eb78369.png

Settings in the capture task field 

image.png.70c88c90ce6bfc97b7057460d9702ddb.png

Link to comment
Share on other sites

Where fields are used in the Human Task to pull info from the database, such as the User Picker, Dynamic Fields, Group Picker etc. it can only currently return "Value" (ie. the Username) not "Display Value" (ie. the user's Display Name).

Myself and others have requested in the past to include the ability to return Display Value as well as Values in Human Tasks, but I'm not sure if it's on Hornbill's roadmap or not, so just in case it hasn't made it's way there yet, I would like to do another +1.

  • Like 1
Link to comment
Share on other sites

@Joy @samwoo

10 hours ago, samwoo said:

Where fields are used in the Human Task to pull info from the database, such as the User Picker, Dynamic Fields, Group Picker etc. it can only currently return "Value" (ie. the Username)

Yes. However if one needs other user data, e.g. full name, one can make use of this node:

image.png

 

Put value returned by the task in the user ID param. Then have another node to update that custom T (or the custom field that you use) with the values returned by this node, e.g. display name, first name last name, etc.

Link to comment
Share on other sites

Or that as @Victor said :rolleyes:

However, if we are using Simple Lists as our source data then this isn't so simple... 

Link to comment
Share on other sites

15 minutes ago, samwoo said:

if we are using Simple Lists as our source data then this isn't so simple...

@samwoo if your simple list contains any values that can be used in the "Get User Details" such as user ID, login ID or employee ID then you can make use of this node.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...