Skip to main content

Hi all,

 

I'm trying to copy attachments from a task list item to a custom list item. I got stuck on the first step: getting the task ID.

Here is the configuration of the request data action.

Capture.JPG

To simplify the process, I trimmed my workflow short. Just the request data action and a log history action. In the log history action, I log the "TaskIDSTLDecison" variable. When I run the workflow, the logged message always return "0" as the "TaskIDSTLDecison".

 

I read about this post Can only get the TaskId when the task is done, and tried the "Correct Answer", that didn't help me. When I filter on the Related Content column on the Workflow Tasks list, I didn't get any value for the ID column.

 

Has anyone tried similar thing before?

 

Thanks in advance.

June

Hi,

Strange that the ID Column does not display anything.

May I suggest to try to create another Worklfow Task list and try again.

Best regards,

Xtof


Hi Christophe,

 

I tried creating another Workflow task list, but that didn't work either.

 

The workaround I figured out was that I made the Task title unique by adding the item id and modified date to the end of the task title. And then query the task list by the unique task title. That worked. So strange!!


Reply