Discussion
Cognizant
IN
Last activity: 21 Oct 2015 1:44 EDT
AutoSubmit Assignment from SLA
Is there any way of Auto Submitting the Flow Action when the Deadline expires on the SLA?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
You do not say which version of Pega you are using but certainly in Pega 7 it is quite easy just use the "Advance Flow" Action:
Sincerely,
Cecil Howell, CSA | Senior Instructor | Pegasystems Inc.
Pegasystems Inc.
US
You do not say which version of Pega you are using but certainly in Pega 7 it is quite easy just use the "Advance Flow" Action:
Sincerely,
Cecil Howell, CSA | Senior Instructor | Pegasystems Inc.
Synechron
IN
How to autosubmit a flow action in prpc 7.1.7
Pegasystems Inc.
IN
could you please refer ResumeFlow API and share your observations...
Synechron
IN
With no UI in flow action, i want that particular flow action to get autosubmit when ever it load on screen.
Currently , i am using reference HTML in flow action (ActionAutoSubmit). But its showing deprecated and not able to get auto submit
Services Australia
AU
Hi RaunakJ6,
Can you give more context.
If there is no UI, why do you need to have Flow Action?
Vamshi
Virtusa Corp.
US
Hi,
for auto submittingt the flow action once deadline time reaches, you can refer escalation activty as ResumeFlow which takes flow action name as required parameter.
TCS
IN
Step to AutoSubmit Flow action in a Flow
- Create a new control and copy the code from ActionAutoSubmit Html
- Put the new control in the section which is embedded in the Flow action
When you run the flow, it automatically AutoSubmits when the flow action is loaded.
Pega
IN
For auto submitting the flow action when SLA deadline expires use ResumeFlow in the esacalation activity by passing flow action as parameter to this activity.
Synechron
IN
Thanks Venkat and Raghu
Virtusa
IN
@VenkatRamanM : I tried the option you mentioned. It does not work. Its working similar to GoBack HTML. It stops at the flowaction and does not submit.
Pegasystems
I believe ResumeFlow should advance the flow without a special control. It is possible that the SLA did not actually fire or that there were errors during ResumeFlow. Do you see a message in the work object audit about the SLA action being fired? If not, then something is amiss in the SLA. Does the flow action have a validate rule or post processing activity or data transform applied to it? Could there be errors there. Check the Broken Process queue to determine if there was a problem.
TCS
IN
@nitishkumar.
Create a Section.
Uncheck autogenerated checkbox
In the html, under Script tag add a doSubmit function on javascript onload() function.
Add the section to the flow action that you want to autosubmit.
But still i recommend the ActionAutoSubmit html which worked fine for me.
Virtusa
IN
@VenkatRamanM : I have also used ActionAutoSubmit. Prior to Pega 7.1.8 , ActionAutoSubmit used to work. But it does not anymore. I have also tried the steps you have mentioned. Does not help. doSubmit also does not submit the flowaction.
TCS
IN
I faced the same issue with doSubmit() in one of section.
Then used document.form.submit() or document.form(0).submit()
i forgot exactly.. but document.form.submit worked fine for me
Virtusa
IN
ActionAtoSubmit has been modified. I modified it and now its working time. Please refer the below PDN article.
https://community.pega.com/support/support-articles/actionautosubmit-does-not-submit-flowaction