Remove-KFData
Syntax
Remove-KFData
[-Key] <string>
[-ThrowErrors[:$true]]
Support
>= kenaflow 1.0.0
Return
Nothing.
Description
This cmdlet can be used to delete the data previously persisted in the workflow data list with Set-KFData
.
Parameters
[-Key] <string>
The key that represents the data that was persisted before.
[-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.
Example
Set-KFData -Key "kenaflow" -Data @{"is" = "a workflow engine for SharePoint, Email and PowerShell"}
Write-KFLog (Get-KFData -Key "kenaflow")
Remove-KFData -Key "kenaflow"