dissociate 2 entitys

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yberges
    Senior Member
    • Jul 2022
    • 177

    dissociate 2 entitys

    Hello i have 2 entitys
    1 for global subscription
    2 for sub event
    sub events is linked to to global subscription via an int field
    after my global event i create a new field called archive and a workflow to archived all subscriptions
    but i didn't find a good ways to broke the link between entity
    how i can acheive this
    regards
  • yberges
    Senior Member
    • Jul 2022
    • 177

    #2
    i think i found a little way but i need some help to update the code
    i have this code to populate number of user how are subscrib to my sub event

    inscrits = entity\countRelated('inscriptionJNs');
    how i can do a condition link
    inscrits = entity\countRelated('inscriptionJNs'); but only if my archived field isn't 1 ?

    Comment

    • shalmaxb
      Senior Member
      • Mar 2015
      • 1627

      #3
      look for itThen condition in formula

      Comment

      • yberges
        Senior Member
        • Jul 2022
        • 177

        #4
        thanks for this propose
        no way to dissociate (or unlink) entity ? (i have workflow component)

        Comment

        Working...