Command Line Node

The Command Line node allows the PDF Automation server to make terminal / command line calls to the system. This can be used to trigger system events or when integrating with external resources. 

 

General Settings 

Output 

Any responses returned from the command line / terminal will be set as the message body and passed through the flow.

Single File: responses will be stored in a single text file

Separate Files: Each line of output will be stored in a separate text file passed on as separate messages in the flow

Exit Code

Default: Exit code 0 is considered successful.  All other exit codes will be processed through the flow error handling.

Custom: Specify the exit codes that are considered successful, separated by commas.  All other exit codes will be processed through the flow error handling.

Timeout In Seconds: If no data is received during an operation for the specified time, the command line / terminal call will be exited and the flow sent to trouble handling

 

 

Variables Tab

The Variables tab allows you to create / define user variables at any point during the flow. It functions the same as the Create Variable Node. Created variables are immediately accessible by the current node and all future nodes.

Variable Name: The name of the variable to be created

Type: PAS currently supports the following user defined data types for variables

Format: Sets the default format for the variable. The format can also be set dynamically at output time using Variable Formatting

Default Value: The default value for the newly created variable. Can be left empty if required.

Variable Formatting

Variables require a default format to be set in order for to be used by the workflow. You can use one of the predefined formats in the drop down or write your own using the following formatting symbols

String

NO formatting options, plain text strings only

Numbers

0 = digit placeholder (000 = 001)

# = digit no placeholder (### = 1)

. = decimal separator (#.# = 0.5)

, = grouping separator (#,### = 1,000)

Dates

yy = two-digit year

yyyy = four-digit year

m = month (1-12)

mm = two-digit month (01-12)

mmm = three letter month abbreviation (01=Jan)

mmmm = full month name (01=January)

d = day of month (1-31)

dd = two-digit day of month (01 - 31)

H = hours (1-23)

HH = two digit hour (00 - 23) (AM/PM NOT allowed)

M = minutes (0-59)

MM = two digit minute (00 - 59)

s = seconds (0-59)

ss = two digit second (00 - 59)

h = hour (0 - 12 | 12-hour AM/PM format)

hh = two digit hour (00 - 12 | 12-hour AM/PM format)

tt = AM/PM based on the time

zz = time zone (Pacific Daylight Time = PDT)

zzzz = time zone (Pacific Daylight Time)

Boolean

True / False

1 / 0 = binary format

yes / no

 


Qoppa Software's PDF Automation Server for Windows, Linux, Unix, and macOS

Automate PDF Document Workflows through RESTful Web Services & Folder Watching

Copyright © 2002-Present Qoppa Software. All rights reserved.