Skip to content

Instantly share code, notes, and snippets.

@marcocast
Created March 26, 2018 13:24
Show Gist options
  • Save marcocast/5b9df0478f9e093663eaae36ca2f55b0 to your computer and use it in GitHub Desktop.
Save marcocast/5b9df0478f9e093663eaae36ca2f55b0 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:proactive:jobdescriptor:3.8"
xsi:schemaLocation="urn:proactive:jobdescriptor:3.8 http://www.activeeon.com/public_content/schemas/proactive/jobdescriptor/3.8/schedulerjob.xsd"
name="print_file_name" projectName="1. Basic Workflows" priority="normal"
onTaskError="continueJobExecution" maxNumberOfExecution="2">
<variables>
<variable name="file" value="undefined" />
</variables>
<genericInformation>
<info name="workflow.icon"
value="/automation-dashboard/styles/patterns/img/wf-icons/print_file_name.png" />
</genericInformation>
<taskFlow>
<task name="print_file_name">
<description>
<![CDATA[ The simplest task, ran by a javascript engine. ]]>
</description>
<genericInformation>
<info name="task.icon"
value="/automation-dashboard/styles/patterns/img/wf-icons/print_file_name.png" />
</genericInformation>
<scriptExecutable>
<script>
<code language="javascript">
<![CDATA[
print("Ready to process " + variables.get("file"))
]]>
</code>
</script>
</scriptExecutable>
</task>
</taskFlow>
</job>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment