Reference field advanced reference qualifier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2018 01:17 PM
I have two reference fields on a form, a column called Workflow (referencing the wf_workflow table) and another column called Workflow Stage (referencing wf_stage table). I want the choices in the Workflow Stage lookup to be dependent on what's chosen for Workflow. Based on what i've read from other community posts, it sounds like I would have to write an advanced reference qualifier for the Workflow Stage field, but I can't seem to get it right.
My form looks like this:
The lookup for the Workflow table only has the Names of the workflows. The lookup for the Workflow Stage contains all the stages for every workflow version (which is not quite the same as just workflow). I am able to dotwalk to Workflow field through Workflow Version. My current advanced reference qualifier looks like this: javascript:"workflow_stage.workflow_version.workflow=" + current.workflow.name; but that does absolutely nothing.
What am I missing to get this ref qual to work?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2018 02:12 PM
If Workflow Stage is a custom table, the field name should be 'u_workflow_version'. Also check the workflow field. Should it be current.u_workflow
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2018 03:13 PM
Workflow and Workflow Stage are both referencing OOTB tables. Also, I'm working in a scoped application so I don't think the field names should have a u_ prefix. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2018 04:56 PM
Can you remove the space between javascipt: and 'workflow_version' and also hardcord the current.workflow to the workflow sys_id? Not sure, why it is not working. I dont see any issue with the query
Please mark this response as correct or helpful if it assisted you with your question.