I tried to split the workflow into two parts and it worked. Recurring event workflow which will check the Run status and will execute the getMessage call once the run is completed.
Thanks very much or your support!