Hi All ,I am having following code ..calling start process model .. i want page to be refreshed after process model is complete. What will be the best way to implement.
a!buttonWidget( label: cons!OCO_TXT_USER_ACTION_SUBMIT, saveInto: { a!save( ri!userAction, cons!OCO_TXT_USER_ACTION_SUBMIT ), a!save(local!data, a!startProcessLink( processModel: cons!OPS_PM_UPDATE_SETUP_DETAILS, processParameters: { interactionDetails: a!update( data: local!interationDetail, index: {OPS Interaction.fields.interactionId',OPS Interaction.fields.isActive',OPS Interaction.fields.createdBy',OPS Interaction.fields.createdDt',OPS Interaction.fields.updatedBy',OPS Interaction.fields.updatedDt' }, value: { ri!InteractionId, true(), loggedInUser(), now(), loggedInUser(), now() } ), npiDetails: local!npiDetails, tinDetails: local!tinDetails, }, )) }, submit: true, style: "SOLID", showWhen: local!currentStep = rule!OCO_nullSafeLength(local!formSteps), validate: true )
Discussion posts and replies are publicly visible
Use startProcess with a chained process and a refresh variable.
See examples here:
https://docs.appian.com/suite/help/23.4/recipe-refresh-data-after-executing-a-smart-service.html
docs.appian.com/.../recipe-refresh-until-asynchronous-action-completes.html