in site workflow you have to use query list action in order to get some list items.
when you look at available fields in the action you will find 3 URL provided, hopefully one of them will suits you.
Hi Marian,
Thanks a lot for your reply. i'm not getting how to do, could you explain me details.
That could be very help to me.
Thanks in advance.
Regards,
Santhosh.
Hello Raj,
In your site workflow use Query List action where you can mention the list name from where you want to get the items. And you can filter these items too based on your requirement.
Use collection type variable to get the IDs of all items.
Loop through the collection variable (for each loop), get each ID into another variable. and here you can find the properties from which you can return the URL or
you will definitely have web url, list name, or list URL options.
So you can built the item url like: WebUrl/Lists/ListName/DispForm.aspx?ID=variableID
yes, that's a possible way as well, but I rather meant it to get it directly from query list action provided fields directly
the (possible) problem with a solution you suggested is that the list queried might be from another site. WebUrl refers to a site where workflow runs.
so you would built an incorrect URL in that case.
URL retrieved the way I suggest (ie. form item directly) needs to be tweaked to point to display form but that's only reliable way.
Hi Marian,
Thank you. It's working fine .
Regards,
Santhosh
How do you get it to point to the form? Mine saved an item to my desktop.
the mentioned URL looks like <site URL>/Lists/<ListName>/<Item ID>_.<some digits>
so you have to customize it as mentioned above to look like <site URL>/Lists/<ListName>/DispForm.aspx?ID=<Item ID>
I ended up doing that and it worked perfectly!