@na ,
Thanks for reaching out to Q&A.
There doesn't seem to be any problem with this approach, it should work as expected. However, it would be more appropriate, if you could make the helper function as an activity function that orchestrator or sub orchestrator would call as a part of its flow. This would be easier for logging and tracking purposes.
I hope this helps!
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.