User Prompt appears a second time after a SD Job is sent
search cancel

User Prompt appears a second time after a SD Job is sent

book

Article ID: 392221

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

A SD Job Container (No Linkage) with multiple jobs is sent to an Agent 14.5 CU7
The jobs have the "Prompt User" option set.

The agents have following settings in configuration policy :
DSM/Software Delivery/Agent/User Prompt: Prompt each job in NoLinkage  = False

With this settings there is only a single prompt to the user for the entine Job Container :

"If set to false, a container in nolinkage mode will cause a single prompt to the user for all the jobs in the container before executing first job.Default (set to true) a container in nolinkage will have a prompt for each job before execution."

But sometimes, a second User Prompt appears. This could occur if there is a reboot request between the SD Jobs.

Environment

CA Client Automation 14.5 CU7

Cause

This problem occurs with following scenario :

1- A SD Job with a reboot before is sent.

2- caf sent the Reboot order to Windows

3- Windows takes some seconds to send the OSShuttingDown event to caf.exe process

4- During these seconds, caf.exe receives a SD Trigger from Scalability Server (Scalability server sends a SD Trigger every 10 minutes to machines with pending jobs).

5- SD Agent is executed and starts execution of SD Job but the reboot is executed and SD Agent is abruptly stopped.

6- After the reboot, SD Agent is executed and the job is executed again.
But this time the user prompt is displayed as it was not terminated properly.

Resolution

Open a case at Broadcom technical support and ask for the fix T533403
This fix delivers this file :

Name    : caf.exe
Size    : 356 600 bytes
Date    : 25 March 2025
Version : 14.5.7.632


Install this fix on Agents 14.5 CU7 with problem.
This fix prevents caf.exe to execute sd agent if a reboot order is in progress.

Additional Information

Similar problem (2 User Prompt displayed) could also occur if there is a crash of sd_jexec.exe

See this article for a solution : crash of sd_jexe.exe process during execution of SD Jobs