Sunday, 17 May 2020

How to Create a new Operator ID using Activity



Hi Friends, today we will see how to create an operator id using an activity in pega. 

Pega has builtin activity named CreateOperator  . This activity has some parameters that is required to create operator id we have to provide those values.

Lets see how to do that.


Created a simple flow, in the first assignment we are getting personal information. In the utility we are generating operator id.

Simple flow

We need to save as Pega built in activity CreateOperator to our application ruleset with different name because this activity has availability Final

And also we have to remove the last 2 steps (show-property) after saved as the activity to our ruleset.
Create Operator Utility


Saved as the activity to my ruleset and changed the name. In the below image you can see I removed two show-property methods.

Create New Operator


Parameters required to this activity:

We have to provide all the required parameters.
Parameter Tab of Create Operator activity


Created another activity in that I have set all the required parameters below that called the CreateNewOperator activity.

For the CreateNewOperator activity I have enabled Pass current parameter check box so that all the parameters in this steps will flow into that activity.
parameter set


Above activity is the utility that I have called after the assignment in the flow.


Lets run the case and check.

Provided all the details in the first assignment.

Case

First assignment got completed.

assignment completed

So lets check operator id has created or not

OperatorID Instance


Operator Id Created!

Thank you guys for reading , Ask in comment if you have any doubts.

14 comments:

  1. Hi Mate very Good Work . The title itself is attracting me to read the post. Please make more POst like this

    ReplyDelete
  2. Sorry, I am not able to see the Value for Param.Password Can you please Ping it here
    :)

    ReplyDelete
    Replies
    1. Hi Friend,

      Thanks you,

      In the property set(2nd step of activity CreateOperator) we are setting Param.Password = @GenerateID("Hos")

      This is the place we are initially setting Param.Password.

      And in the same step we are setting Primary.Password = Param.Password.

      Delete
  3. Hi can you please tell in sending credentials to the patient how did you insert properties like user id and password in email. Can you please ping it here.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This post is so usefull and informative.keep updating with more information...
    Online-Marketing
    Digital Marketing Services

    ReplyDelete
  6. Great post, keep more sharing valuable information. Mern Stack Classes in Pune

    ReplyDelete