Create a new thing (Is executed before the rest)

Good morning,

I empty my database:Cat
I have a customstate on PageName : CustomCat (Cat)

  1. set state PageName CustomCat
    Search for Cat:first item (proprior = current user)

  2. show :
    Élément : pop up
    Only when NamePage CustomCat is not empty

  3. create a new Cat
    Proprior = current user
    Only when NamePage customCat is empty

The problem is that step 3 is found during step1 (while it should not have been launched) and icing on the cake, step 3 (which has already worked) does not work because CustomCat is not empty.

Could you Help me ?
Thanks a lot

you’ll need to either

  1. use custom events to force the order (custom events happen in the order they are placed in the workflow)
  2. reference previous steps in later steps (this creates dependencies which delays later steps from running until previous steps are done)
1 Like

Hello,
Thanks for your answer

  1. I didn’t understand

  2. impossible on a customstate

Kr :frowning:

I tried with an event, nothing changed

possibly something else is changing the state

use the onpage debugger to see if there are other things happening

Hello !

I deleted all the other workflows on the page (and I don’t have any back), it doesn’t work (find the next step) even with a custom event!!!
Thats crazy

Kr

This topic was automatically closed after 70 days. New replies are no longer allowed.