Petals-SE-Flowable 1.4.0+

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History
To implement it, just create a class implementing the interface {{org.ow2.petals.flowable.identity.SeFlowableIdmServiceConfigurator}} or extending the class {{org.ow2.petals.flowable.identity.AbstractProcessEngineConfigurator}}. You can find an example [here|https://github.com/petalslink/petals-se-flowable/blob/master/src/main/java/org/ow2/petals/flowable/identity/file/FileIdmEngineConfigurator.java] (the file-based IDM engine), or [here|https://github.com/petalslink/petals-se-flowable/blob/master/src/main/java/org/ow2/petals/flowable/identity/ldap/LdapIdmEngineConfigurator.java] (the LDAP-based IDM engine).

h1. Flowable's extensions

The Petals SE Flowable embeds few Flowable's extensions.

Currently, only one extension is available as a custom JUEL function.

h2. Custom JUEL functions

The custom JUEL functions can be used into any JUEL expression.

h3. date:parse

This custom JUEL function parse a date provided as {{String}} into a {{java.util.Date according}} to the given pattern.

Two arguments are required:
* the first argument is the date value as String to parse,
* the seconf argument is the date pattern to use to parse the value. The date pattern is driven by {{java.text.SimpleDateFormat}}.

Example:
{code}
<serviceTask>
<ioSpecification>
...
</ioSpecification>
<dataInputAssociation>
<targetRef>...</targetRef>
<assignment>
<from>${date:parse(myDateStr, "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")}</from>
<to>...</to>
</assignment>
</dataInputAssociation>
</serviceTask>
{code}

h1. Configuring the component