-
Notifications
You must be signed in to change notification settings - Fork 4
CardUpdatedTrigger
Rasmus Wulff Jensen edited this page Jun 3, 2023
·
5 revisions
Back to Automation Trigger List
Trigger when a card is Updated (This happens in various basic events so is kind of a catch all Trigger to things happening on a card)
- None
var sampleTrigger = new Automation("Whenever a card in 'In Progress' list is update, make sure it have 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')