Example: Using the Update Object Action
3 min
you can use the update object action to update certain fields on a business object for example, you can manage email statuses, as described in example processing an email based on incident status docid 4aqijsjyr6r tiuon eit you can update the status field on a change record to implemented, as described below see update object action docid 9qe9rjtqokxyui18 8xk some of the field names given in this topic may differ in the graphical action designer from the configuration console, click build > automation tools > quick actions to open the actions manager workspace the list of business objects that have actions appears click add/edit for the business object the application displays the action designer selection popup select one of the following designers graphical action designer classic action designer click the create new actions tab (classic action designer), or new actions tab (graphical action designer) select the action type in the graphical action designer, drag and drop the update a record action type onto the design board in the classic action designer, click the update object action type to open the update object configuration page for information on using the graphical action designer, see using the graphical action designer (gad) docid 2wq6ihun2zxir21ea3m7g for information on using the classic action designer, see using the classic action designer (cad) docid 6uzt0q86wu3yk3cxzjoar enter information into the fields field description enter action name a name for this action enter action description optional a description of this action enter category the category select from the drop down list publish to the roles that need access to this action hide when hides this action under certain conditions for example, to disable the action when the change record is in the logged or closed state, enter the following command in the hide when field $(if( (((status == "closed") || (status == "resolved")) || (status == "logged")), true, false)) in the apply update to section, make a selection by default, the action is applied to the change (selected object) however, you can check child object to indicate that this action should be run against a relationship then select a child business object from the drop down list complete the field name and field value sections to customize the update object action field value field name choose status field value choose implemented click add in the new line, enter field value field name choose lastmodby to update the last modified by field field value enter $(currentloginid()) click add in the new line, enter field value field name choose lastmodby to update the modified on field field value enter $(currentdatetime()) click save
