Sys ID is showing instead of name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 03:04 PM
Hi All
I am working on a orchestration to create user in OKTA using Orchestration. While this is working as intended, that its creating user and its passing all the information we have, the field for Department and Manager (both are a reference field variable) is showing as the SYS ID not the display value when the account is created in OKTA.
I tried using the workflow.scratchpad to get the display value to pass but that is not working.
But when i made the Department and Manager field to be filled out, those are being carried over. Any ideas on how i can pass the display value when a variable is a reference field?
i added some screenshot just in case i am missing something or my coding is off.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 03:11 PM
Hello Reich,
Syntax is
current.variables.VARIABLENAME.getDisplayValue(); //For referene fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 03:39 PM
Hi Pradeep
thanks for that
i tried with this code
workflow.scratchpad.manager = current.variables.sc_manager.getDisplayValue();
and it doest work...any more ideas?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 03:57 PM
Please user below code
workflow.scratchpad.manager = current.sys_user.variables.sc_manager.getDisplayValue();
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2017 09:27 AM
Hi
still no luck, the sys id is still being passed.