dissociate 2 entitys

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

    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
    • 176

    #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

    Working...