Nintex Connect

The Official Community Site for Nintex Software Products, including Nintex Workflow 2007, 2010 and 2013; Nintex Workflow for Project Server 2010; Nintex Reporting 2008 and Nintex Analytics 2010; Nintex Forms 2010; Nintex Live and Nintex SmartLibrary.
Welcome to Nintex Connect Sign in | Join | Help
in Search

Configure Action - List Lookup to Current List?

Last post 08-10-2012, 7:03 PM by chandacole. 3 replies.
Sort Posts: Previous Next
  •  07-31-2012, 12:07 AM 24308

    Configure Action - List Lookup to Current List?

    I am working to create a workflow that will be reusable and am wondering if there is a way to accomplish a list lookup to the current list (without specifying it by name) when configuring actions.

    For example, I have a list (List A) containing two items.  In an associated workflow I need to use values from Column1 for these two items in a math calculation action.  So, when configuration the action I am able to refer to the first of the two values using List Lookup > Current Item, but when referring to the second of the two values I have to specify the list name (List A).

    While this does allow me to create a workflow that performs the action I need, it is not reusable in the sense that I cannot export and then import to a new list (copy of List A) without having to modify the Math Calculation action and change the list name in the second lookup.  What would be helpful is an additional list lookup option for "Current List" - assumes the list of the item that the workflow is running on, but gives the remaining lookup fields to enter the column and value.

    Is there some way to do this that perhaps I'm just not seeing?  I thought that perhaps something in the workflow context (i.e. list name) would work but it doesn't seem to be what I'm looking for.

    Thanks!
    Chanda

  •  08-08-2012, 3:40 PM 24415 in reply to 24308

    Re: Configure Action - List Lookup to Current List?

    Bumping this just to see if anyone has an idea of how to accomplish this?

    Thanks,
    Chanda

  •  08-08-2012, 6:48 PM 24418 in reply to 24415

    Re: Configure Action - List Lookup to Current List?

    Hi chandacole,

    can you pass the list id and item id to the child workflow?

    Then you could use a Query List action and insert the variables into the CAML query to get back the data you need.

  •  08-10-2012, 7:03 PM 24447 in reply to 24418

    Re: Configure Action - List Lookup to Current List?

    Hi Vadim,

    There is actually not a child workflow, I'm trying to do this all within one, but your suggestion works just fine!

    I wasn't thining about the option in the Query List action to configure the CAML query so that I could use the List ID value, so when I used that to get the value and store in a variable I was able to use it as needed to do my calculation.

    I would still suggest that a List Lookup option for "Current List" - which assumes the current list but gives the remaining lookup fields - would be nice to have.  At least in my case it would let me retrieve the value I'm looking for right within the action as opposed to having to use an additional Query List action. 

    Thanks for your help!

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems