Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Registered members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Pega Very Important Interview Questions & Answers
Difference between data transform and activity?
Difference between data transform and activity in Pega?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="AllJobsInfo" data-source="post: 55" data-attributes="member: 1"><p><strong>Activity rules</strong> provide us with <strong>one way to automate the processing</strong> of work in pega applications using a program-like approach.</p><p></p><p><strong>A data transform rule</strong> provides <strong>a purpose-built rule</strong> for easily transforming and mapping clipboard data without using activities. In general, the data transform defines how target data (properties, pages, etc.) is mapped from and transformed by source data (properties, pages, etc.).</p><p></p><p><strong>Activities are harder to maintain and not as easy to construct as other rules in PRPC.</strong></p><p></p><p>We should not use an activity for calculations or property validations that we can implement as constraints rules or Declare Expression rules. Use of a declarative rule (rather than an activity) eliminates the need to control how and when an activity executes. A best practice is to use declarative processing rather than activities when feasible.</p><p></p><p><strong>For data manipulations</strong>, we can use a Data Transform instead of an activity.</p><p></p><p><strong>To query from an external DB</strong>, we can use <strong>Report Definition rules</strong> instead of activities.</p><p></p><p>We may need to automate the processing of cases with a sequence of steps to be executed. Most of the time, this is possible with the steps in the case designer or multiple shapes in a flow rule or with declarative rules or data transform rules or a combination of those and other rules.</p><p></p><p>Also remember that before writing our own activities, take a look at the standard activities that come with PRPC.</p><p></p><p>There are certain scenarios <strong>where we cannot avoid writing an activity</strong>. For example:</p><p></p><p><strong>To perform Case related functions</strong> such as creating a case instance, routing the case, or updating the work status, as part of certain operations such as parsing an input file.</p><p></p><p><strong>To send requests to</strong> external systems or to receive requests from external systems.</p><p></p><p>To perform functions such as <strong>writing to</strong> a <strong>log file</strong> or to the <strong>history database</strong>.</p></blockquote><p></p>
[QUOTE="AllJobsInfo, post: 55, member: 1"] [B]Activity rules[/B] provide us with [B]one way to automate the processing[/B] of work in pega applications using a program-like approach. [B]A data transform rule[/B] provides [B]a purpose-built rule[/B] for easily transforming and mapping clipboard data without using activities. In general, the data transform defines how target data (properties, pages, etc.) is mapped from and transformed by source data (properties, pages, etc.). [B]Activities are harder to maintain and not as easy to construct as other rules in PRPC.[/B] We should not use an activity for calculations or property validations that we can implement as constraints rules or Declare Expression rules. Use of a declarative rule (rather than an activity) eliminates the need to control how and when an activity executes. A best practice is to use declarative processing rather than activities when feasible. [B]For data manipulations[/B], we can use a Data Transform instead of an activity. [B]To query from an external DB[/B], we can use [B]Report Definition rules[/B] instead of activities. We may need to automate the processing of cases with a sequence of steps to be executed. Most of the time, this is possible with the steps in the case designer or multiple shapes in a flow rule or with declarative rules or data transform rules or a combination of those and other rules. Also remember that before writing our own activities, take a look at the standard activities that come with PRPC. There are certain scenarios [B]where we cannot avoid writing an activity[/B]. For example: [B]To perform Case related functions[/B] such as creating a case instance, routing the case, or updating the work status, as part of certain operations such as parsing an input file. [B]To send requests to[/B] external systems or to receive requests from external systems. To perform functions such as [B]writing to[/B] a [B]log file[/B] or to the [B]history database[/B]. [/QUOTE]
Verification
Post reply
Home
Forums
Pega Very Important Interview Questions & Answers
Difference between data transform and activity?
Difference between data transform and activity in Pega?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top