Skip to main content

Add generic event listeners to the designer

Comments

3 comments

  • Jack Basha

    Hi Berend, may I ask what's the use case you're asking for? As in, which Mobile components you'd like to detect change on that aren't Workflow-related?

    In Workflow, you can configure a change event detection, and we do support that in Mobile. Using any form element in Workflow, you can add a `change` event and configure a subworkflow to perform the task you need.

     

    0
  • Berend Veldkamp

    Hi Jack Basha 

    Yes, many times a workflow is running already, but not always. In this particular case, we were looking at how we could trigger a workflow after a sync operation is finished, i.e. after the offline.area-edits-submitted event.

    We can already do this using the generic event listener function as described in the linked article, but we would need to 1) Remember where that blog is ⁠;-) and 2) Manually edit app.json

    It would help if the generic event listener mechanism was described in the documentation, but having it in the designer UI would be even better. Something similar to Services > Event Service in the Web designer. 

    0
  • Jack Basha

    Hi Berend,

    Ah I see, thanks for clarifying! Yeah I can definitely agree that we can, at the very least, document this a bit better :)

    I will bring this up with the Mobile team and discuss what we can do about it. I'll keep you updated on the outcome of that.

    0

Please sign in to leave a comment.