-
gtflip
- Newbie
- Posts: 3
- Joined: Fri Jul 16, 2021 9:49 pm
Post
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
-
freddyp
- Advanced member
- Posts: 1021
- Joined: Thu Feb 09, 2012 3:53 pm
Post
by freddyp »
What version of Switch are you using? flowStartTriggered was introduced in Switch 2022 Spring.
-
gtflip
- Newbie
- Posts: 3
- Joined: Fri Jul 16, 2021 9:49 pm
Post
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