Step Context

Interact with running workflows through runes engine processes

  • Context Variable: step
  • Only applicable to Process

API Interface

//Add a info message to this step
void info(String message);

//Add a info formatted message to this step
void info(String format, Object... args);

//Add a info stack trace to this step
void info(Throwable ex);

//Gets the workflow property map
Map<?,?> getProperties();

//Add a trace message to this step
void trace(String message);

//Add a trace formatted message to this step
void trace(String format, Object... args);

//Add a trace stack trace to this step
void trace(Throwable ex);

//Add a debug message to this step
void debug(String message);

//Add a debug formatted message to this step
void debug(String format, Object... args);

//Add a debug stack trace to this step
void debug(Throwable ex);

//Gets the unique step ID
String getId();

//Add a error message to this step
void error(String message);

//Add a error stack trace to this step
void error(Throwable ex);

//Add a error formatted message to this step
void error(String format, Object... args);

//Add a warning message to this step
void warn(String message);

//Add a warning stack trace to this step
void warn(Throwable ex);

//Add a warning formatted message to this step
void warn(String format, Object... args);

//Add a fatal message to this step
void fatal(String message);

//Add a fatal stack trace to this step
void fatal(Throwable ex);

//Add a fatal formatted message to this step
void fatal(String format, Object... args);

//Gets the workflow instance ID that triggered this step
String getInstanceId();

//Gets the process ID that triggered this step
String getProcessId();

//Gets the process name that triggered this step
String getProcessName();

Related Context APIs

Workflow Context
Context Base