• Application Integration >
  • Cloneable Controls >

Setting or Activating a Key

Go to Robotic Automation version 22.1 documentation

For cloned controls, the clone and the children controls of the cloned control can be referenced by their Key property. When you create event link connections between controls in an automation, Studio displays a key parameter on control design blocks whenever a context exists. Here, the term context defines any instance of an target for which multiple instances can be created. The creation of keys and the setting of keys for objects is governed by the existence of contexts as follows.

Events set the context.

Event from No Context to a Context requires Key assignment.

Event from Context to Child Context requires Key assignment.

Event from Context to Parent Context does not require Key assignment.

Operations within the same context do not require Key assignment.

To assign a key, use either the Key property for the control or the ActivateOrSetNextKey method for the object. Normally you use the Created event to set the Key property. This makes sure the correct key is assigned to the corresponding control instance since the Created event is on the same thread used to set the Key property. Here is an example of the Key property.

how to get assignment key in pega

The Key property accepts String input for the key. Here is an example of the ActivateOrSetNextKey method.

how to get assignment key in pega

The ActivateOrSetNextKey method accepts one parameter (key). If a window is open that has that key already assigned, this method activates that window. If not, the method assigns that key to the next window of the correct typed opened.

Related information

Handle KeyNotFoundException

Identifying Targets on MDI Child Windows

Using the Upstream Key/Override Key

Privacy | Trademarks | Terms of Use | Feedback

Updated: 01 July 2024

© 2016 - 2024 Pegasystems Inc.  Cambridge, MA All rights reserved.

OpenSpan data classification label

IMAGES

  1. How to display assignment instructions in a flow action

    how to get assignment key in pega

  2. 3 Routing in Pega

    how to get assignment key in pega

  3. Creating a Training Assignment

    how to get assignment key in pega

  4. Creating a Training Assignment

    how to get assignment key in pega

  5. Transferring an assignment

    how to get assignment key in pega

  6. Updating assignment routing

    how to get assignment key in pega

VIDEO

  1. Page border design ideas for school project ✨📝 #assignment ideas #shorts

  2. How to Get to Know Someone

  3. Como pega a chave/key do/da delta

  4. ensinado como pega get key

  5. Pega

  6. Credit Card Application: Part 4: How to Manually Add Assignment, Flow Action and Section

COMMENTS

  1. How to find the pxAssignmentKey of an Assignment

    There is an action called Open Assignment in Pega, which opens an assignment based on the provided pxAssignmentKey. Now i couldn't find this key value for a particular assignment (checked everywhere), also there isn't much information in the PDN. Do anyone know how to find this key and how this works ? ***Updated by Moderator: Vidyaranjan.

  2. What is the difference between work object key and assignment key? How

    Work object key is the case id key and which is constant for a particular case during end to end processing. It will be in the format of "class caseID". Will find this value in pyWorkPage.pzInsKey in the clipboard in a case thread. Assignment key is different and it holds key for specific flow in the case .

  3. Open Assignment is throwing "Empty Assignment Key" pop up

    Hi All, I am trying to open an assignment on click of a button. I am using Open Assignment control there. Its throwing "Empty Assignment Key" for the first time. It is working then for the second time. I am passing the assignment key in side the parameter of Open Assignment control. Please let me know. ***Edited by Moderator Marissa to update categories***

  4. Understanding the pzInsKey property (handle)

    A handle, sometimes known as an internal key, is a permanent representation of an object instance key in an external form.A handle uniquely identifies the instance, though in a format that differs from the normal presentation. Internally, the pzInsKey property holds the handle value for the object.. A handle identifies the class, certain key parts, and (for rules and some other classes) the ...

  5. Database tables and views

    Assignment views in the Pega Platform database support reporting on work items with open assignments. A single work item might have more than one assignment outstanding if it is part of multiple simultaneous flow executions. ... The primary key column for almost all Pega Platform database tables is named pzInsKey, which corresponds to the ...

  6. openAssignment(assignmentID, className, options)

    About Pegasystems. Pegasystems is the leader in cloud software for customer engagement and operational excellence. If you've driven a car, used a credit card, called a company for service, opened an account, flown on a plane, submitted a claim, or performed countless other everyday tasks, chances are you've interacted with Pega.

  7. Assignment routing

    Work Queue. A Work Group identifies a cross-functional team that uses a Work Queue to distribute work. A Work Queue is a list of all open Assignments, in order of importance, for a group of users. Assignments stay in the Work Queue until a user associated with the Work Queue selects an Assignment, or a manager sends an Assignment in the Work Queue to a specific user.

  8. How to know key for a particular assignment?

    How to know the key of an assignment to open an screen flow? As per the requirement on click of link need to open an assignment. ... Get Inspired Get Inspired Pega Platform: Community Edition ... worklist and workbasket table with your work table giving condition as .pzInskey=.pxRefObjectKey and then u can can get the assignment handle. To see ...

  9. Transferring an assignment

    Get Inspired Get Inspired Pega Platform: Community Edition Community Success Stories Pega Community Blog ... You can transfer an assignment from one user to another. For example, you can transfer an assignment to a team member with more experience or less workload. By reassigning work to other members on your team, you can resolve cases more ...

  10. Setting or Activating a Key

    To assign a key, use either the Key property for the control or the ActivateOrSetNextKey method for the object. Normally you use the Created event to set the Key property. This makes sure the correct key is assigned to the corresponding control instance since the Created event is on the same thread used to set the Key property.

  11. Assignment tables

    ASSIGN-WORKBASKET OTC-HR-PTO W-18!VACATIONREQUESTFLOW. identifies an assignment for the work item W-18 in the work pool named OTC-HR-PTO, created by a flow named VacationRequestFlow. The workbasket name itself is not part of the key. Assignments for one workbasket can be accessed using an index. Indexes on the pc_assign_workbasket table speed ...

  12. Application of keys

    Pega Robot Studio employs the following rule logic when determining to apply a key: An event that creates the instance sets the context. An event from No Context to a Context requires a key assignment. An event from Context to Child Context requires a key assignment. An event from Context to Parent Context does not require a key assignment.

  13. How to get the pzInsKey of an activity and pass it as a parameter to

    @ManjunathaC it's just throwing the pega failed window rather than pega success just like when a rule is executed successfully. When I used Click and Run an activity, nothing showing but obj-browse was executed as there are pxResult in the clipboard and I can see the activity .pzInsKey, it's just that no window pop up to enter the activity parameter and eaxecute it.

  14. Database table primary key (handle)

    Database table primary key (handle) The primary key column for almost all Pega 7 Platform database tables is named pzInsKey, which corresponds to the pzInsKey property known as the internal key or handle. This permanent key is generated internally by concatenating other properties in the instance and, for rules, from the date and time the object is first saved.

  15. Throwing error

    About Pegasystems. Pegasystems is the leader in cloud software for customer engagement and operational excellence. If you've driven a car, used a credit card, called a company for service, opened an account, flown on a plane, submitted a claim, or performed countless other everyday tasks, chances are you've interacted with Pega.

  16. Assignment tables

    Assignment instances are created when a flow execution reaches an Assignment shape in a flow. Assignment instances are deleted when a user or agent or other processing responds to the assignment by recording information, making and recording decisions, and adding attachments, or otherwise updating the work item, allowing the flow execution to continue.

  17. Database table primary key (handle)

    The key parts defined in the class rule (the Rule-Obj-Class instance) are collectively known as the visible key. When you review a handle for a rule, the creation date and time might differ from the creation date in the History tab of the rule form. The date and time on the History tab are converted to display in the time zone of the server ...

  18. What is difference between pzInsKey & Primary key?

    The key(s) to a table, as defined in a class, can be made up one or more exposed properties to the table. The values become part of the pzInskey. Take for example the Data-Admin-Operator-ID table. Table: <pr_data_schema>.pr_operators. Primary Key at database level: pzInkey (Unique = yes) Class Key (as defined in Class record): pyUserIdentifier

  19. Replacing Docker API Keys with Docker Access Tokens

    Pega provides access credentials only to clients that have the appropriate support role within their organization. 0:58 Pega partners are not allowed to request an access token on behalf of their customer to obtain the Pega provided Docker tokens. 1:06 With that said, let's walk through the steps for requesting a Docker token on My PEGA. 1:12

  20. Workbasket and worklist assignment models

    Get Inspired Get Inspired Pega Platform: Community Edition Community Success Stories Pega Community Blog ... Both contain prioritized lists of assignments. An assignment records the condition of an open work object within a flow, and the action required (by a user or an external system) for the work object to progress. ...