Questionnaire(survey) questions in agent app is not synchronized with the latest changes done on it in the web.

Ahmed Hussein
Tera Contributor

when I make any update on any questionnaire like adding new questions or removing some, these updates are reflected on the web but not in the mobile app(Agent App), the questions don't update, and even if I created a new instance from the questionnaire?

Also when I submit the questionnaire answers from the mobile of the responses saved to the backend table is not like when answering the questionnaire from the web, this happens because I have some dependents between the questions so the web handles it right it just saves the responses of the visible questions while in the mobile it saves all the responses of all questions even it's not visible?

3 REPLIES 3

Prakash Shah
Tera Contributor

I am having the same issue.  I have just added a question to the questionnaire under an update set but like you I can see it on the native UI but not on the mobile when I assign a Work Order Task to myself.  I mean do you have to create a new one every time when you amend your questionnaire?  This is time consuming and there has to be a work around.

WadeSmy
Tera Contributor

Just ran into this same issue after updating some questions and making some others non-mandatory. The preview shows correctly, the native UI shows it correctly, even the mobile service portal view mesp shows it correctly, but if I create a new work order and a new asmt instance on the mobile agent app it pulls up the old version. Any solutions?

ozymandias
Tera Contributor

I got this response from ServiceNow Support:

In Rome, we added a scripted screen cache for better performance. Some updates to the Questionnaire may not trigger the cache to reload, for example, when the script itself is modified.
> In such cases, a manual cache flush is required to re-load the scripted screen cache.

> Step to perform a manual flush to the scripted screen cache as admin:
> 1. Click System Definition -> Scripts - Background
> 2. Type GlideCacheManager.flush('mobile_generated_screen'); and click Run script.

 

It worked for me!