Skip to content

Cannot reuse a trigger? #964

Closed Answered by dahall
Silver-Fang asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. I would use the Clone method on the trigger before adding it to the Triggers of the task.

task.Defnition.Triggers.Add((Trigger)ValidTriggers[selectedIndex].Clone());

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dahall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants