-
Notifications
You must be signed in to change notification settings - Fork 4
CardUpdatedTrigger
Rasmus Wulff Jensen edited this page Aug 28, 2024
·
5 revisions
Back to Automation Trigger List
Trigger when a card is Updated (This happens in various basic events so it is kind of a catch-all Trigger to things happening on a card)
Tip: You have the option to specify an optional subtype to filter the Event for better performance further
- None
var sampleTrigger = new Automation("Whenever a card in 'In Progress' list is updated, make sure it has a Start-Date",
new CardUpdatedTrigger(), // <-- Our trigger
new List<IAutomationCondition>
{
new ListCondition(ListConditionConstraint.AnyOfTheseLists, "In Progress") {TreatListNameAsId = true }
},
new List<IAutomationAction>
{
new SetFieldsOnCardAction(new SetCardStartFieldValue(DateTimeOffset.UtcNow))
});
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')