Content Platform Engine, Version 5.2.1            

convert

The convert command allows you to convert a value from or to a time, error, or log event value.

Syntax

The syntax varies depending on the value you choose to convert.

Value to convert Syntax
time number to string convert t <value>
string to time number convert s <time_mask> <value>
error tuple to three part error convert e <value>
three part error to error tuple convert e <category> <function> <number>
log event type number to string convert l <log_event_type>
user id to user name convert i <user_id>
user name to user id convert n <user_name>
Workflow system globally unique identifier (guid) format to Content Platform Engine guid format, and the reverse convert g <guid>

Parameters

Table 1. Parameters and description for the Convert command
Parameter Description
value Value to be converted.
time_mask The date/time format to be used for the string-to-numeric conversion. The default is the current date/time format that is specified for the workflow system, if set, or by the server's operating system.
category The first set of three numbers in an error tuple.
function The second set of three numbers in an error tuple.
number The third set of three numbers in an error tuple.
log_event_type The number associated with a specific log event.
user_id The number associated with a user name.
user_name The user name.
guid The guid in the format for the workflow system or Content Platform Engine. If a workflow system format guid is entered, then the Content Platform Engine format guid is returned, and the reverse.


Last updated: October 2015
bpfvl004.htm

© Copyright IBM Corporation 2015.