How to retrive Connect task ID from workflow

The Connect API revolve around knowing a task ID to retrieve additional information on the task being performed.

When using a Connect task (Datamapper\Create Output\Template etc) is there a way to retreive from the workflow the ID of the task submitted?

On the contrary is it possible to embed a sort of tag before submitting a Connect task so that an external process can monitor its advancement through the APIs?

Hi @Maxiride,

When using a Connect task (Datamapper\Create Output\Template etc) is there a way to retreive from the workflow the ID of the task submitted?

Can you let us know please if you’re looking for the Operation ID* or for the Data Set ID/Content Set ID, Content Set ID and Job Set ID? The reason why I am asking this is because I assume that the Operation ID won’t be available/accessible when executing Connect tasks on the Workflow side, only the Data Set ID, Content Set ID and Job Set ID.

On the contrary is it possible to embed a sort of tag before submitting a Connect task so that an external process can monitor its advancement through the APIs?

I don’t think that this is possible by executing the Connect task on the Workflow side. I assume that you will have to execute the Connect tasks by REST API calls instead because in that case you will be able monitor its advancement by other REST API calls such as ‘Get Progress of Operation (link)’ and ‘Get Result of Operation (link)’ for example, for which the Operation ID is required.

*The Operation ID is the unique ID of the operation being processed.

Recommended links: