-
Notifications
You must be signed in to change notification settings - Fork 4
AddCoverOnCardAction
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
3 revisions
Back to Automation Action List
This Automation Action adds/updates a Cover on a card
Option | Description |
---|---|
CardCoverToAdd (Required) |
The Cover object to add/update |
Automation sampleAutomation = new Automation("When Card is moved to the 'On Hold' column, Add a Full red cover to highlight the card",
new CardMovedToListTrigger(CardMovedToListTriggerConstraint.AnyOfTheseListsAreMovedTo, "On Hold") { TreatListNameAsId = true },
null, // No conditions necessary
new List<IAutomationAction>
{
new AddCoverOnCardAction(new CardCover(CardCoverColor.Red, CardCoverSize.Full)) //<-- Our Action
});
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')