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

How to get another site library from current list workflow

Jump to solution

I am trying to get the Library which is located in different site from my list workflow. i am trying to do Query List to fetch using alternative site option but I am getting List not Found.

Query_List_Error.PNGQuery_List_Error2.PNG

Labels: (1)
0 Kudos
Reply
14 Replies
Highlighted
Nintex Newbie

Re: How to get another site library from current list workflow

Jump to solution

Your site URL is wrong. You only need the direct link to the site itself. Remove everything after 'dep2'.

 

Also, confirm that the List ID is correct for the list you're trying to pull.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to get another site library from current list workflow

Jump to solution

Its failing as well if I try till DEP2 path.Query_List_Error3.PNGQuery_List_Error4.PNG

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to get another site library from current list workflow

Jump to solution

Did you confirm that the List ID is correct? You should be able to get it from the URL in the List Settings page.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to get another site library from current list workflow

Jump to solution

How should I confirm?


@chaddavis wrote:

Did you confirm that the List ID is correct? You should be able to get it from the URL in the List Settings page.


 

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to get another site library from current list workflow

Jump to solution

On the list you want to query, go to the List Settings page.

Look at the URL. It should have something similiar to this at the end:

List=%7B3548B49E-11E6-4185-A43E-0771E6893073%7D

Now compare that to the List ID in your CAML Query.

 

%7B = {

%7D = }

 

So, in my example:

%7B3548B49E-11E6-4185-A43E-0771E6893073%7D 

=

{3548B49E-11E6-4185-A43E-0771E6893073}

 

 

If they don't match, you need to replace the List ID in your CAML Query with the List ID from the URL. If you do, make sure you replace the %7B and %7D with the correct characters.

 

 

Oh, and when you use the Run Now option, you have to use real data. You can't just leave this line the way it is:

<FieldRef Name="{ItemProperty:Activity}"/>

You have to replace 

{ItemProperty:Activity}

with real data to test.

View solution in original post

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to get another site library from current list workflow

Jump to solution

Thanks a lot. It is working now. It has been a great help.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to get another site library from current list workflow

Jump to solution
Also I want to know how to get characters from string for example. I have a string as "SWDP001GHUI87K" I need to get DP001 from this string. I tried substring(str.Length-(str.Length-2),5). but is is not working. can you give any suggestion.
0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to get another site library from current list workflow

Jump to solution

I would suggest opening a new question for this if you're not able to figure it out.

 

However, it sounds like you're trying to just type JavaScript into your formula, and you can't do that.

 

Use the Inline Functions. There's a substring function.

 

I used the Build a String action and this worked great:

2019-06-25_12-57-30.png

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to get another site library from current list workflow

Jump to solution

Great!!! I have one more issue with this workflow. I got data from other site I need to query it and get the matched record from that list. can you tell me how can I do this. please find below screenshot.Query_DEP2_1.PNGQuery_DEP2_2.PNG

0 Kudos
Reply