Question

FSM Task Outgoing Message - How to link Outgoing Message to correct Task ? 

  • 20 March 2023
  • 1 reply
  • 20 views

Badge +3

Hello Community, 

 

I have been working in a integration with a third party system and I am sending an outgoing message from FSM using the XML maps functionality using the Task Table as Primary Table. 

 

On that outgoing message, I am getting a respose from the third party system with a tag saying if the message is OK or KO. Based on this asnwer I should update the task entity accordingly to save this value and do some follow up action (managing an error basically). 

 

However, I have seen that after I send the outgoing message I cannot link it back to the TASK that I am suppose to save it on. Is there a way of knowing which task corresponds to the outgoing message I have just sent ?

 

Or must we request the external third party system to save the task_id and send us as a response on this ?

Best Regards.


1 reply

Userlevel 5
Badge +13

Hi @Carlos123,

 

As per my knowledge, the best way is to ask the third party system to send the field(task id or any other field) in the response which you can identify the task row uniquely.

 

Thanks,

Hasara

Reply