We have developed a custom activity that returns the date and should populate DE/ This date is used in Wait by attribute activity which follows custom activity. The problem we face is that we receive 200 response and JB allows contact to progress through the journey (exit custom activity and enter wait by attribute activity) before date is updated in the DE. Therefore, contact just skips the wait by attribute activity. We tried SOAP and REST requests but it does not help.
Do you have any ideas on how to ensure that DE is updated before letting a contact to exit the custom activity. Could it be achieved with outArguments? (as far as I understand they could be used only in other custom activities and therefore won't help in this case)