cancel
Showing results for 
Search instead for 
Did you mean: 
ddrahokoupil
Nintex Newbie

Query list item from another site and compare it with item from current site NINTEX WORKFLOW

Jump to solution

Hello i have a problem with making a Query List Item in NINTEX WORKFLOW.

I want to Query List Item from another site (I know how to do with CAML EDITOR) but in same code i want to compare Filtered Item from another site with item in current site.

How can i do it?

0 Kudos
Reply
7 Replies
Automation Master
Automation Master

Re: Query list item from another site and compare it with item from current site NINTEX WORKFLOW

Jump to solution

What are you storing in the query list? Which properties do you need to compare? Be sure to create a variable for each propert you need to compare and store it in a variable. Then you can use run if or set a condition to compare your variables to your current item properties.

Reply
Automation Master
Automation Master

Re: Query list item from another site and compare it with item from current site NINTEX WORKFLOW

Jump to solution

I'm quite not sure what exactly is your problem...

if you are able to write a CAML query you should be able to make as many conditions in CAML where clause as fields you need to compare, shouldn't you?

if your workflow is list workflow and you want to compare current item values you can use 'Item properties' references.

if your workflow is site workflow, or you want to compare value of different item then workflow is currently running on, you have to first read in all the value to compare into workflow variables and then use variables in CAML query

0 Kudos
Reply
ddrahokoupil
Nintex Newbie

Re: Query list item from another site and compare it with item from current site NINTEX WORKFLOW

Jump to solution

Hello , thanks for your response,

User fill a number of production line. In another site i have list of responsibilites of lines. I need to put filled line and compare with list of responsibilities and if the line will be same i need to take name of responsible person from responsibilities and send him email.

0 Kudos
Reply
Automation Master
Automation Master

Re: Query list item from another site and compare it with item from current site NINTEX WORKFLOW

Jump to solution

can you provide example of your remote list?

0 Kudos
Reply
ddrahokoupil
Nintex Newbie

Re: Query list item from another site and compare it with item from current site NINTEX WORKFLOW

Jump to solution

Hello, i finally solved this with this article: 

https://sharepoint.protiviti.com/blog/Lists/Posts/Post.aspx?ID=89

Thanks

Reply
jaapsteenis
Nintex Newbie

Re: Query list item from another site and compare it with item from current site NINTEX WORKFLOW

Jump to solution

Hi David, is this method also valid for Nintex O365 ?

0 Kudos
Reply
ddrahokoupil
Nintex Newbie

Re: Query list item from another site and compare it with item from current site NINTEX WORKFLOW

Jump to solution

Hello Jaap,

I dont use Nintex 365, so i cant tell you.

You must try it

0 Kudos
Reply