Question
EPAM Systems
CA
Last activity: 26 Aug 2020 8:41 EDT
On change Event in Pega Robotics
Hi ,
I have field called Pincode in outside app and after putting value from pega i want to refresh on on change of pincode to auto populate the city and State .
Could you please let me know me how which methods/Events i can used here ?
Thanks,
Lalit
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
Ankuj Jhalani -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Integrity Systems, Inc.
US
There is a method, RaiseEvent, available on Web Controls. This method can be used to raise various events on the control to trigger an action. It is hard to speculate which event will trigger the update, you will have to experiment trying several of the events. It may take a combination of event. The most used events for this try of requirement are; onBlur, onKeyUp, onKeyDown, onKeyPress. You might be able to determine which events are needed by looking at the actual HTML element of the text box control you are working with.
Integrity Systems, Inc.
US
Is the Pincode field in a Web application or a Windows application? If it is a Web Application can you send a copy of the actual HTML element, you can get this from the OuterHtml property when in interrogation and the field is created and matched.
Pegasystems Inc.
US
Can you clarify what you are trying to do? Are you trying to trigger this activity from a Pega app using RDA and then return the result to Pega? If not, what exactly are you trying to accomplish? The answer to your question will be based on what you are trying to do.
EPAM Systems
CA
Hi Jeff,
Could you please reply on this ?
Thanks,
Lalit
EPAM Systems
CA
Hi Chanm1 & Jeff,
below are the steps which i am performing
1)Calling automation as post action from flowaction
2)Passing Pincode from pega to web application
Here i want to refresh the html form on change of pincode(after passing the value to web app from pega) at web application side to populate the city and state. Form is attached
Thanks,
Lalit
Integrity Systems, Inc.
US
What happens when entering the PIN code manually? Do you enter it and press Enter and the form updates? Can you attach the HTML for the form?
EPAM Systems
CA
i have attached the form in my last post and when i am entering pin manually and moving out the focus screen is getting refresh and state and city is getting populated.
Accepted Solution
Integrity Systems, Inc.
US
There is a method, RaiseEvent, available on Web Controls. This method can be used to raise various events on the control to trigger an action. It is hard to speculate which event will trigger the update, you will have to experiment trying several of the events. It may take a combination of event. The most used events for this try of requirement are; onBlur, onKeyUp, onKeyDown, onKeyPress. You might be able to determine which events are needed by looking at the actual HTML element of the text box control you are working with.