Item ID

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
schuess
Posts: 82
Joined: Wed Jan 22, 2014

19 Nov 2015

Other than using the Related Items option, how could i go about getting the item ID from one list, into the hands of a form or workflow in another list?

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

20 Nov 2015

How are the two lists related? Explain the situation in more detail.

User avatar
schuess
Posts: 82
Joined: Wed Jan 22, 2014

20 Nov 2015

I swear i have accomplished this before, but i cant remember how. I have a form, and an approval task for that form. I would like to put a link on the form which goes to the approval task. In my mind i need to build a URL with the ID number of the approval task, but i can't figure out how to get that task ID number in the hands of the original parent form

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

20 Nov 2015

The form is for a list, I take it? If so, again, how the task is related to the list? What makes a particular task belong to a particular list entity? I.e. is there a lookup column or something? How do you determine if this task belongs to this list entity and that one doesn't?

User avatar
schuess
Posts: 82
Joined: Wed Jan 22, 2014

20 Nov 2015

The Parent List Form needs an approval. So a nintex workflow creates and approval task, and ties those two forms togther with a related content filed on the child task that points to the parent form. the related content field is basically a field of type URL

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

23 Nov 2015

We're not Nintext, but most probably you can do this:

1. Add a multi-value lookup field to the child list that would point to the parent list

2. Make the Nintex workflow add a value to the field when it created a task.



So, you will have the Related Content field in the child list pointing to the parent list, and a multi-value lookup field on the parent list pointing to the child list.

User avatar
schuess
Posts: 82
Joined: Wed Jan 22, 2014

23 Nov 2015

by "multi-value lookup field" do you mean a field of type lookup that allows multiple values?

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

23 Nov 2015

Sorry, actually, it should be single value, since one list entity seems to be related to one task entity.

User avatar
schuess
Posts: 82
Joined: Wed Jan 22, 2014

23 Nov 2015

Even in a SharePoint Designer workflow, how do i get it to set the value of a field, on a different item in a different list?

User avatar
schuess
Posts: 82
Joined: Wed Jan 22, 2014

23 Nov 2015

You can ignore my last reply.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests