Hi,
We are creating an incoming message to Create or Update a Task. In this incoming message we will also create/update one or several task text entries related to the task.
Our requirement regarding Task Text, is that for a specific task we can only have one task text per text_line_code.
Example: For task with task_id = 100 we can have 2 task texts one with text_line_code = TYPE1 and other with text_line_code = TYPE2, but we can not have two task texts entries with text_line code = TYPE1.
To meet this requirement we have created a integration map function to do the validations, Before mapping (we will save from this function information for fields: text_line_code, text and text_sequence). The function is working correctly when we are creating/updating only one task_text. However when sending two task_texts, the function runs two times, but it only saves the result of the second time it runs, meaning that both task text entries will have the same information(text_line_code and text).
Does anyone knows if it is possible to solve this issue? The goal is to save the result of the integration function per each task text.
Thanks for the help,
Kind regards,
Joana Machado