Workflow, Trigger Type, after publishing a new Stream (flow)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rodrigocoelho
    Active Community Member
    • Jun 2016
    • 296

    Workflow, Trigger Type, after publishing a new Stream (flow)

    It would be great to have a Trigger Type on Workflow as "when updating the Stream"

    Is it possible?

    tanya
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    You can use 'Note' Target Entity and After Record Created Trigger Type, some manipulation with conditions and actions

    Comment

    • rodrigocoelho
      Active Community Member
      • Jun 2016
      • 296

      #3
      Originally posted by tanya
      Hello
      You can use 'Note' Target Entity and After Record Created Trigger Type, some manipulation with conditions and actions
      Hi tanya, I tried this, but, I can't use the condition for trigger relating to the Parent, at least not using the ANY and ALL options. Maybe you are telling me to use the FORMULA as Condition Trigger.

      The option I have is demonstrated on the attached picture. Please help me.


      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Tell me all the logic you need in conditions

        Comment

        • rodrigocoelho
          Active Community Member
          • Jun 2016
          • 296

          #5
          Originally posted by tanya
          Tell me all the logic you need in conditions
          When creating a NOTE, if the note is related to a record type Opportunity (parent), do the following actions....

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #6
            Set in formula
            Code:
            parentType='Opportunity';

            Comment

            • rodrigocoelho
              Active Community Member
              • Jun 2016
              • 296

              #7
              Originally posted by tanya
              Set in formula
              Code:
              parentType='Opportunity';
              I didn't understand how this would work. You are setting the parentType to "Opportunity" on the Conditions Formula?
              What does that formula do? It returns a True or False?

              Thanks tanya

              Comment

              • tanya
                Senior Member
                • Jun 2014
                • 4308

                #8

                parentType=='Opportunity';
                sorry

                yes, formula in conditions has to return true or false

                Comment

                • rodrigocoelho
                  Active Community Member
                  • Jun 2016
                  • 296

                  #9
                  Originally posted by tanya
                  parentType=='Opportunity';
                  sorry

                  yes, formula in conditions has to return true or false
                  Thanks Tanya.

                  Comment

                  • rodrigocoelho
                    Active Community Member
                    • Jun 2016
                    • 296

                    #10
                    Originally posted by tanya
                    parentType=='Opportunity';
                    sorry

                    yes, formula in conditions has to return true or false
                    Ok, now the second Step. I created this trigger, and asked it to call the sequential workflow, that needs to change some of its Fields.
                    On that case, the Sequential Workflow is linked to the Opportunity type. Will it work? Or I will have to create a sequential workflow linked to the NOTE, as is with the Trigger?

                    Comment

                    • tanya
                      Senior Member
                      • Jun 2014
                      • 4308

                      #11
                      You can use Update Related Entity -> Parent, if you don't need a delay

                      Comment

                      Working...