Write-KFHistory

Syntax

Write-KFHistory 
  [-Message] <message> 
  [-ThrowErrors[:$true]]

Support

>= kenaflow 1.0.0

Return

Nothing.

Description

Use this cmdlet to write an entry to the Workflow History List.

This will fail if the workflow has no configured history list!

Parameters

-Message <message>

The message to be logged.

[-ThrowErrors[:$true]]

This is a default parameter for all kenaflow cmdlets. If set to $true (default!) the engine will pass exception within the cmdlet to the script for further handling.

Examples

Write-KFHistory "Hello kenaflow!"