Question

FSM 6 - web client scripting - wait nicely for run to finish?

  • 24 November 2022
  • 0 replies
  • 18 views

Userlevel 2
Badge +4

So I’ve got a web client script which is basically:

 

1. do stuff 
2. run billing generation/initialize receipt/whatever returns a run ID
3. (when 2 completes) do stuff that requires 2 to be done

 

3 can’t run until 2 completes. Right now I just loop until the log says it’s complete and call a SQL query that’s just a WAITFOR every repeat so it plays nice.

Is there a built-in/better way to wait for 2 to finish?


0 replies

Be the first to reply!

Reply