Once again, I am new to Pega and I am working on this little function.
In Pega i am not sure how to fully do it.
I have set up a DateTime Object that currently has no value.
I would like to know how to initialize such property to the current date and time (I know there is a function called @currentdatetime and there is a .pxCreateDateTime, but I am not sure how to set a DateTime property using these, am I supposse to simply call a data transform and paste @currentdatetime or .pxCreateDateTime in the field next to "equals to" ?).
I also want to know how I can display this DateTime property on the screen, to check that is the correct time I am looking for.
Thank you all for helping or just looking through this,
Very much appreciated,
Share this page
Posted: 7 years ago
Posted: 20 Jun 2016 18:35 EDT
Lee Pederson (pedel)
Engagement Strategy Content Expert & Principal Instructor - LSA
When I add the "change" event and I click action "Run Script", it asks me for a function name.
Also since I am asking, is the "change" event mean that the action will execute upon opening the harness/section?
If I have to create a script, how do I do so in Pega 7?
How does this "Run Script" work?
Im sorry for these question I just cant find a good resource to learn this things online, I haven't found a manual or pdf.
I understood the rest perfectly and I have that set up already.