Page 1 of 1

flowStartTriggered doesn't seem to be called

Posted: Tue Aug 16, 2022 4:47 pm
by gtflip
I have the following in my script, but flowStartTriggered doesn't seem to be called. timerFired and jobArrived are called, though.

Code: Select all

async function flowStartTriggered(s: Switch, flowElement: FlowElement): Promise<void> {
   await flowElement.log(LogLevel.Info, "in flowStartTriggered");
}
I haven't found anything to indicate I need to do anything else. Am I missing something?

Thanks,

Phillip

Re: flowStartTriggered doesn't seem to be called

Posted: Tue Aug 16, 2022 5:58 pm
by freddyp
What version of Switch are you using? flowStartTriggered was introduced in Switch 2022 Spring.

Re: flowStartTriggered doesn't seem to be called

Posted: Tue Aug 16, 2022 6:47 pm
by gtflip
freddyp wrote: Tue Aug 16, 2022 5:58 pm What version of Switch are you using? flowStartTriggered was introduced in Switch 2022 Spring.
Oh, I'm using 2021 Spring. It is in the Switch 2021 Fall reference, though, which I was looking at by mistake.

Thanks,

Phillip