What are the Pega rules I can call from mobile scripts (JS coding)?
I am new to mob app development using Pega 7.2.2 in our application. I see there are some Text files (scripts) where we can write the js functions to handle the Pega properties and all. I would like to know whether any activities/DT's/DSS/When conditions can be called from js functions. If yes, pls give some samples on all possible rules where we can call from the scripts.
It is important to note that 'Server calls'(online) is strictly a special case in offline-enabled applications. Whatever server activities you intend to execute would be called upon 'Sync' and not directly on click of button or page reloads/refresh.
Activities - Pre- and Post- processing activities/DT configured on flowactions will be called when workobject is synced to server. You can make activities to execute (upon sync) in between using callActivity action
Data transform - DTs configured in UI /flows are translated into JS 'automagically' and called during offline processing.
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s available on the top right pane of this page. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.