Home Search

DriveWorks Pro 21
Specification Macros

Send Feedback

What's New Specification Macros

Specification Macros can be applied to macro buttons on the user form to run set tasks that can have parameters passed into them using rules.

To create a specification macro open the project it is to be applied to in DriveWorks Administrator and :

  1. Select Specification Macros from the task explorer
  2. Click Add to add a new macro
  3. Enter a name for the macro
  4. Click OK
  5. The Edit Tasks dialog will launch

New Tasks

Tasks are actions that can be set to be performed on the click of a macro button or during specification flow events, operations and transitions. Additionally task can have conditions that will only perform the task action when the conditions have been met.

New tasks for DriveWorks 8 are:

  • Drive Control Value - Will force a value into a form control when the task is run.
  • Send Text Message - will send a text message when the task is run.

Drive Control Value

This task will drive the value set in the Control Value property into the specified Control.

NameDescription
Control NameThe name of the form control to drive the Control Value into
Control ValueThe value to drive into the Control Name
TitleA brief description of the purpose of the task can be entered here

Example

Drive Control task propertyExampleNotes
Control Name"VolumeReturn"The name of the control must be within quotes " "
Control ValueLengthReturn*WidthReturn*DepthReturnUse the rule builder to build the rule that will result in the value to drive into the control
TitleThis task will drive the result into the control

Send Text Message

This task will send a text message through the Clickatell service

NameDescription
ApiIdThis is generated by the Clickatell account
PasswordThe password required by the Clickatell account
TextThe text message to send
ToThe number to send the text message to
UserNameThe UserName required by the Clickatell account
TitleA brief description of the purpose of the task can be entered here

Example

Send Text Message task propertyExampleNotes
ApiId1234567This is generated by the Clickatell account
Password"mypassword"The password required by the Clickatell account
Text"Your documents are ready for viewing. Please go to "&DWVariableDocumentURL&" and login to view."The message body to send
To"+44234456789" &"|" & DWVariableMyBossNumberThe number to send the text to. Multiple numbers separated with the pipe symbol |.
UserNamemyusername
TitleThis task will send a text message