How to Post to stream from workflow when some conditon meet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sapyantuk
    Senior Member
    • Oct 2020
    • 265

    How to Post to stream from workflow when some conditon meet

    Hello, how to post a note to stream from workflow .when some condition meet .
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    create record type Note

    entity : Note
    ->type = "Post"
    ->post = "Blabla text"
    ->data = here is more complex, it's json like : {"mentions":{"@xxx":{"id":"5d0e10xxxx7","name":"xx xx","userName":"xxxx","_scope":"User"}}}
    ->isGlobal = ? i don't know
    ->isInternal = ? i don't know
    ->targetType = ???
    ->parentId = as he say, related to
    ->parentType = as he say, related to type
    ->relatedId = ?? heuuu ..
    ->relatedType = ?? heuu
    ->superParentId = ?? heuu
    ->superParentType = ?? heeeuu

    the question is :
    what represent targetType, parentType, relatedType, superParentType

    ok, targetType seemt to be : users, teams, self,
    parentType, parentId seemt to be related to parent.




    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    Working...