How to get list item id url in site workflow, we have the feature to get list item id url in list workflow, but we don't have the feature in site worklfow.
Could you please help me how get list item id url in Site level, That could be very help me full to me.
Solved! Go to Solution.
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.
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.
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, santhosh raj sangani,
Glad it's working. Are you able to click the "correct answer" button beneath the correct reply?
Your community manager
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>