Tips and Frequently Asked Questions
Registering components and methods in workflow scripting system
The Workflow Studio manual describes how to register new components, methods, classes and properties to a scripter component by using methods like DefineClass, DefineProp, etc.. However, Workflow Studio creates a new scripter component instance for each script block that is used in a workflow instance. Due to that, you must use OnGlobalScripterCreate event to make sure you initialize all scripter components in the system. The following steps show how to do that. The OnGlobalScripterCreate is a global variable of type TNotifyEvent declared in Wf.Script.pas unit. First of all, you need to set that global variable to a method in your application:
{PrepareScripter is a method in any of your existing and instantiated classes} OnGlobalScripterCreate := PrepareScripter;
Procedure TMyDataModule.PrepareScripter(Sender: Tobject); begin With TwfCustomScripter(Sender) do begin AddComponent(Form1); end; end;
Pricing
Single Developer License
Small Team License
Site License
TMS Workflow Studio
€ 270
€
80
yearly renewal
license for 1 developer
MOST POPULAR
BEST VALUE
All prices excl. VAT. Renewal price is subject to change and only valid up to 30 days after license has expired. After renewal period a discount price is offered to renew the license.