Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created September 27, 2021 23:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/62b1b99fc73d6b039f1ba68752c97edd to your computer and use it in GitHub Desktop.
Save iaindooley/62b1b99fc73d6b039f1ba68752c97edd to your computer and use it in GitHub Desktop.
emailTransporters
var created = new Notification(notification).createdCard(/Orders.*/);
var holding_list = created.board().list("Waiting ... ");
created.board().list("Transporters").cards().each(function(card)
{
Card.create(holding_list,"RFQ Order #"+created.id()).postComment(
//include whatever info from the order card here, just putting description as an example
//which might have all the form field submissions
"@to "+card.name()+" "+card.description+"\n"+created.description()
);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment