AnsweredAssumed Answered

How do I dynamically set related item of 'assign a task' action?

Question asked by tcl on May 6, 2018

I have a central person list in which I maintain a list of tags, that a person is interested in. I have different Sharepoint sites with document libraries, each having a matching tag to the tags of the person list. If I add a tag to a person, I must assign a task to the person for each document matching the tag (and some other criterias which are irrelevant for the question). I have a list defining the tagname, and the corresponding site url and library name. I can get the documents and loop through each but I can't assign the task because I cannot get the site and library name in the Related Item field of the 'Assign a task' action. Any hints, workarounds or tips is greatly appreciated.

Thanks

Outcomes