I have Assignment (A), configured a FlowAction with HTML ActionAutoSubmit, next I have a screen flow contains 3 Assignments and When I execute Assignment A is auto completing and the next screen flow assignments also auto completing which are supposed to complete on user action
with same below snapshots working properly in UI-kit application , whereas in Cosmos its not working with same flow and FA and ActionAutoSubmit
***Edited by Moderator Marije to add Capability tags***
We ran into the same issue in one of our flows. To resolve the issue we created a custom HTML section, copied the top half of the ActionAutoSubmit and made some minor tweaks, after doing this we have something that will auto submit but will not leave a lasting onLoad function.
here is the code we are using:
<% ClipboardPage actionPage = pega.getUIEngine().getUIActionPage("finishAssignment");
/*Setting a timeout to submit page automatically so the function is done onload without updating the onload event in the window*/
hopefully this helps.
Posted: 1 year ago
Posted: 14 Jul 2022 13:44 EDT
John Paul Raja Christu Raja (JohnPaulRaja,C)
@JohnPaulRaja,C no this code was updated on our team.
Our issue was just as described by the @PrakashP6773 we had a subflow which would call ActionAutoSubmit which would cause our screenflow to auto-submit on the main flow after we had already finished the subflow.
The existing HTML does not work for our use case because it creates an onload function that executes for any FA that comes after it runs. The code i posted instead calls that function one time. so it will not affect future FAs.