Ccms auto resolved

{

“Name”: “CCMS_Night_Pending_Reopen_Auto”,

“CreationDate”: “2026-10-02”,

“Commands”: [

{

  "Command": "open",

  "Target": "https://ccms.pitc.com.pk/login",

  "Value": ""

},

{

  "Command": "comment",

  "Target": "Enter CCMS ID/password manually and complete CAPTCHA.",

  "Value": ""

},

{

  "Command": "pause",

  "Target": "30000",

  "Value": ""

},

{

  "Command": "click",

  "Target": "PENDING_SELECTOR_HERE",

  "Value": ""

},

{

  "Command": "pause",

  "Target": "2000",

  "Value": ""

},

{

  "Command": "comment",

  "Target": "===== PROCESS PENDING =====",

  "Value": ""

},

{

  "Command": "click",

  "Target": "DETAILS_SELECTOR_HERE",

  "Value": ""

},

{

  "Command": "click",

  "Target": "RESOLVE_SELECTOR_HERE",

  "Value": ""

},

{

  "Command": "type",

  "Target": "COMMENT_SELECTOR_HERE",

  "Value": "Due to safety policy work will be progress tomorrow"

},

{

  "Command": "click",

  "Target": "CHANGE_STATUS_SELECTOR_HERE",

  "Value": ""

},

{

  "Command": "pause",

  "Target": "2400000",

  "Value": ""

},

{

  "Command": "comment",

  "Target": "===== PROCESS REOPEN =====",

  "Value": ""

},

{

  "Command": "click",

  "Target": "REOPEN_SELECTOR_HERE",

  "Value": ""

},

{

  "Command": "pause",

  "Target": "2000",

  "Value": ""

},

{

  "Command": "click",

  "Target": "DETAILS_SELECTOR_HERE",

  "Value": ""

},

{

  "Command": "click",

  "Target": "RESOLVE_SELECTOR_HERE",

  "Value": ""

},

{

  "Command": "type",

  "Target": "COMMENT_SELECTOR_HERE",

  "Value": "Due to safety policy work will be progress tomorrow"

},

{

  "Command": "click",

  "Target": "CHANGE_STATUS_SELECTOR_HERE",

  "Value": ""

}

]

}

Hi! Are you asking how to complete this macro, or are you getting an error when running it?

The macro still contains placeholders such as PENDING_SELECTOR_HERE, DETAILS_SELECTOR_HERE, and RESOLVE_SELECTOR_HERE. These must be replaced with actual element locators from your CCMS page. Start by recording the steps for one complaint using Ui.Vision’s recorder, which captures the targets for your clicks and typing.

Also, pause | 2400000 means a single 40-minute wait. The macro currently has no loop to process every complaint and no scheduling logic to run at night.

Please share the first failing command and its exact error from the Log tab, if any. Should it process one complaint or all complaints in the Pending and Reopen lists? A short recorded macro with personal information removed would help us suggest the next steps.

Hello,

The main issue is that the selectors are still placeholders (PENDING_SELECTOR_HERE, DETAILS_SELECTOR_HERE, etc.). You’ll need to replace them with the actual CSS/XPath selectors from the CCMS page.

Also, the 2400000 ms pause is 40 minutes, so the macro will simply sit there for that period before processing reopened Maxim Time Clock employee portal items.

A better approach would be to use wait-for-element commands instead of fixed pauses wherever possible. This makes the automation much more reliable if the page loads faster or slower than expected.