Skip to main content
Nintex Community Menu Bar

Lookup runtime function on a Form is not returning values when the item is in a folder.

  • Aug 3, 2018 1:26 AM UTC
  • 1 reply
  • 31 views
  • Translate All

Forum|alt.badge.img+1
I want to get the workflow status running on the current item and hide buttons on the form if the workflow is running. 
In the workflow, a workflow status value is set; to "Active" at the beginning and to "Inactive" at the end.  The workflow status (myWfStatus) is not an value that is in the "item property" list, however I can access it through the Form's lookup runtime function (through a form variable) using the current ID and the name of the Workflow subscription:
Lookup("MyList", "ID",Id,"myWfStatus"). 
This returns the Workflow Status link value perfectly. 
 
This list has folders.  When an Item is in a folder, the lookup doesn't return anything.  When the item is at the root, the lookup works.
Any thoughts?

1 reply

Forum|alt.badge.img+1
  • Author
  • Nintex Partner
  • Aug 24, 2018 5:28 PM UTC

It would seem like there should be a scope=recursive parameter I could add to the command....  Especially if you look at the direction of sharepoint (teams), where MS has given up on metadata and is using folders. 

Translate