PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Warning
From version 20 (58), ActionPlanParameter is kept for backward compatibility. This function is replaced by ActionPlanConfigure.
Configures an action plan in the software factory.
Example
// Crée l'instance de plan d'action de compilation de mon projet
TabParamètre is associative array of Variants
TabParamètre["projet"] = "MonProjet"
ActionPlanConfigure("CoordFab", "admin", "clefab", "MaBibli" + TAB + ...
"PlanCompilProjet", "PlanCompilMonProjet", TabParamètre)
// Crée l'instance de plan d'action avec en paramètre ouverture d'un projet depuis le GDS
// L'action "Ouvrir un projet depuis le GSD" du plan prend le nom du projet
// dans un paramètre "paramProjetAOuvrir"
TabParamètre is associative array of Variants
TabParamètre["paramProjetAOuvrir"] = "CS:\\TEST:4900\GDS"+CR+"GDS:\Projets WinDev\Mon_Projet"
ActionPlanConfigure("CoordFab", "admin", "", "MaBibli", "Mon_Instance_PLAN_TEST", ...
TabParamètre, 30s, apStatusCompletedFailure + apStatusCompletedOK, "GB")
Syntax
<Result> = ActionPlanConfigure(<Coordinator> , <User> , <Password> , <Name of action plan> , <Instance of action plan> [, <Parameters> [, <Timeout> [, <Required information> [, <Recipients> [, <Labels>]]]]])
<Result>: Boolean
  • True if the action plan was configured,
  • False if the action plan was not configured. The corresponding error message is returned by ErrorInfo.
<Coordinator>: Character string
Name of computer used to coordinate the execution of action plans.
<User>: Character string
User name. This user must be allowed to run the action plan on the coordinator.
<Password>: Character string
User password.
<Name of action plan>: Character string
Name of the action plan to configure.
To configure an action plan of a given library, the name of the action plan must have the following format:
<Nom de la bibliothèque> + TAB + <Nom du plan d'action>
Remarks:
  • The name of the library may contain (or not) the extension.
  • If the library name is not specified, the first action plan found corresponding to the specified name will be configured.
<Instance of action plan>: Character string
Name of the instance of the action plan created or modified with the specified parameters.
<Parameters>: Associative array
Name of Associative Array variable containing the parameters of the action plan. This associative array is indexed on the name of parameters.
<Timeout>: Optional integer or optional Duration
Maximum duration for running the instance of the action plan in seconds. This parameter can correspond to:
  • an integer corresponding to the number of seconds,
  • a Duration variable,
  • Versions 23 and later
    the duration in clear ('1s' for example).
    New in version 23
    the duration in clear ('1s' for example).
    the duration in clear ('1s' for example).
<Required information>: Optional Integer constant
Versions 21 and later
Indicates in which case a message must be sent by the in-house messaging application (WDBal). Corresponds to one of the following constants:
apStatusCompletedFailureThe execution of the plane ended with error.
apStatusCompletedOKThe execution of the plane ended without error.
New in version 21
Indicates in which case a message must be sent by the in-house messaging application (WDBal). Corresponds to one of the following constants:
apStatusCompletedFailureThe execution of the plane ended with error.
apStatusCompletedOKThe execution of the plane ended without error.
Indicates in which case a message must be sent by the in-house messaging application (WDBal). Corresponds to one of the following constants:
apStatusCompletedFailureThe execution of the plane ended with error.
apStatusCompletedOKThe execution of the plane ended without error.
<Recipients>: Optional character string
Versions 21 and later
List of persons to inform via the WDBal messaging. The names of recipients are separated by CR characters (Carriage Return). This parameter has the following format:
"Nom destinataire 1" + RC + ... + RC + "Nom destinataire N"
New in version 21
List of persons to inform via the WDBal messaging. The names of recipients are separated by CR characters (Carriage Return). This parameter has the following format:
"Nom destinataire 1" + RC + ... + RC + "Nom destinataire N"
List of persons to inform via the WDBal messaging. The names of recipients are separated by CR characters (Carriage Return). This parameter has the following format:
"Nom destinataire 1" + RC + ... + RC + "Nom destinataire N"
<Labels>: Array of strings
Versions 25 and later
List of labels required by a PLC to be able to execute the set action plan.
Reminder: It is possible to assign one or more labels to a PLC.. This parameter makes it possible to execute an action plan only on certain PLCs..
New in version 25
List of labels required by a PLC to be able to execute the set action plan.
Reminder: It is possible to assign one or more labels to a PLC.. This parameter makes it possible to execute an action plan only on certain PLCs..
List of labels required by a PLC to be able to execute the set action plan.
Reminder: It is possible to assign one or more labels to a PLC.. This parameter makes it possible to execute an action plan only on certain PLCs..
Business / UI classification: Neutral code
Component: wd270std.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment