Create Automation Chain without "Context.FetchDocument"

Hi,

I'm trying to create an Automation Chain via Nuxeo Studio.

I've noticed that the chain must begin with Context.FetchDocument (or another operation that it's input is document/s).

How can I create a chain that doesn't begin with such operation?

My chain should be like this:

  - Context.SetVar:
      name: currentUserName
      value: admin
  - Context.SetVar:
      name: Password
      value: 12345
  - Document.Mail:
      from: "bla@bla.com"
      message: Hi
      subject: Hello
      HTML: "true"

Thanks.

0 votes

0 answers

49 views

ANSWER