ConfigurationActive: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Dannym (talk | contribs)
Created page with "==ConfigurationActive?('ConfigurationGroupName', 'ConfigurationName')== {{Description|description= This command returns true if }} {{Stats|id=709|type=Boolean|class=All Mach..."
 
Dannym (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
==ConfigurationActive?('ConfigurationGroupName', 'ConfigurationName')==
== ConfigurationActive?('ConfigurationGroupName', 'ConfigurationName') ==


{{Description|description=
{{Description|description=
This command returns true if  
This command returns true if the specified (ConfigurationGroupName, ConfigurationName) pair is currently active at the time of Processing, as defined in the Document Control Dialog (DCD).}}
}}
 
=== Code Sample ===
In the sample image below, taken from Machine Manager, if the post developer needs to know if the 'LiveTools' Configuration is active so they might format the output differently, then they could use:
 
<nowiki>
IF ConfigurationActive?('FrontGang', 'LiveTools')
</nowiki>
 
[[Image:ConfigurationsSample.PNG|none]]
 
{{Stats|id=709|type=Boolean|class=All Machines|scope=Global|version=22.0.5}}
{{Stats|id=709|type=Boolean|class=All Machines|scope=Global|version=22.0.5}}

Latest revision as of 21:23, 8 June 2021

ConfigurationActive?('ConfigurationGroupName', 'ConfigurationName')

Description

This command returns true if the specified (ConfigurationGroupName, ConfigurationName) pair is currently active at the time of Processing, as defined in the Document Control Dialog (DCD).


Code Sample

In the sample image below, taken from Machine Manager, if the post developer needs to know if the 'LiveTools' Configuration is active so they might format the output differently, then they could use:

 IF ConfigurationActive?('FrontGang', 'LiveTools')
 


Stats

ID 709
Type Boolean
Class All Machines
Scope Global
Min Version 22.0.5