0 Bewertungen0% fanden dieses Dokument nützlich (0 Abstimmungen)
20 Ansichten3 Seiten
If you call Validate_User from another activity, the control goes to test activity and again th e control goes to validation activity. If you branch, the control will come to validation activity but the control never g oes to test activity, control finishes at validation activity itself! if you want to fire multiple number of property set s or activities sequentially then you can use collection. You can call a collection from an activity by saying Collect(space) collectio nname
If you call Validate_User from another activity, the control goes to test activity and again th e control goes to validation activity. If you branch, the control will come to validation activity but the control never g oes to test activity, control finishes at validation activity itself! if you want to fire multiple number of property set s or activities sequentially then you can use collection. You can call a collection from an activity by saying Collect(space) collectio nname
Copyright:
Attribution Non-Commercial (BY-NC)
Verfügbare Formate
Als TXT, PDF, TXT herunterladen oder online auf Scribd lesen
If you call Validate_User from another activity, the control goes to test activity and again th e control goes to validation activity. If you branch, the control will come to validation activity but the control never g oes to test activity, control finishes at validation activity itself! if you want to fire multiple number of property set s or activities sequentially then you can use collection. You can call a collection from an activity by saying Collect(space) collectio nname
Copyright:
Attribution Non-Commercial (BY-NC)
Verfügbare Formate
Als TXT, PDF, TXT herunterladen oder online auf Scribd lesen
Create anew activity called Test //ex: if you want to call Validate_User Description Step Page Met hod Cal Validate_User 1) //to call an activity from another activity 2) Branch Validate_User //you can call another activity using branch also ********Difference between Branch and call? If you call Validate_User , the control will come to Validate_User and again th e control goes to test activity if you a branch, the control will come to Validate_User but the control never g oes to test activity, control finishes at Validate_User itself! 3) Collect //Pega has a collection called Rule-Declare-Collection //In the Collection you can fire multiple collections, multiple property sets // through collection you can set multiple number of properties as many as you w ant // or you can fire multiple number of activities also //basicaly it is a sequence, if you want to fire multiple number of property set s or activities sequentially then you can use this // you can call a collection from an activity by saying Collect(space) collectio nname 4) Java //To write code in Java // expand by clicking on >> to write code 5) ActivityEnd // it will end the activity //lets say, if you call one activity1 from that present activity and in that act ivity1 if you have the method activityend then control will not come back to you r present activity(calling activity) as activity ends in activity1 *********Difference between 'exit activity' and 'activityend'? you call one activity1 from that present activity and in that activity1 if you h ave the method exit activity then control will come back to your present activit y(calling activity) from activity1 6) ApplyModel //model is a constructor which will execute //you can give your modelname here itself, you can set your model here //Exactly model means? Whenever you are running a flow, at that time you want to set some predefined va lue at that time you don't have an activity while running the flow so at that time you can set the value by using the model 7) Commit //to commit something in the db then you can you this method //same like db commit ********Model will be applied when you create work object? why do you want to ca ll applymodel inbetween activity? inbetween activity sometime you might have predefined property also you can make your own model also model means some predefined value is there, sometimes it is needed that in betwe en application you need predefined value in that assignment //instead of model you can do propertyset but is not feasible //there is a collection, in the collection you can set property also(you can set many properties in collection) 8) ExitActivity you call one activity1 from that present activity and in that activity1 if you h ave the method exit activity then control will come back to your present activit y(calling activity) from activity1 9) Obj-Browse // Obj-Browse if you want to get more than one row from the database 10) Obj-Delete //to delete a row or something from the database 11) Page-Copy //copy one page to another page copy from copy to 12) Page-New //create a new page 13) Page-Remove //to remove/delete page from the clipboard 14) RDBList // click on >> //you will have request type, Access 15) RDBOpen //click on>> //you will have open class,request type, access //open class means that if you make a rule-connect-SQL to connect to a external system you should have a sql or some other query make a rule connect sql: applies to: JPMC-LEAVE-EMP package name: Oracle Request Type:abcd Open SQL: select * from pc_work browse tab select * from pc_work save //do all this for RDBLIst request tpe:abcd class name: JPMC-LEAVE-EMP Access: Oracle Max records: 0 also have page new on top //then also do RDB open and then fill in >> step page is Test //RDBopen //derby database //if you have oracle db then you can do RDBOPEn on internal also //for external db you should have coonection //you should have atable name to write the sql statements administrator configures external database, you just have to connect to the db
// Other than the external DB you cannot use RDB Open