AnsweredAssumed Answered

Simple Example for Script Task

Question asked by chandanmb1 on Aug 23, 2016
Latest reply on Sep 1, 2017 by warper
Hello Team,

I am trying Script Task. I am just trying basic usage of Script Task without any use case yet.
Just to know how it works.

I tried


<scriptTask id="sid-AD08CD49-08D0-4910-9912-BB7C73637844" name="Script" scriptFormat="JavaScript" activiti:autoStoreVariables="false">
      <script><![CDATA[
alert("Welcome to activiti Javascript")
</script>]]>
    </scriptTask>



It got deployed. But when i start the Activiti. It throws an error alert is not a keyword.
Can you please provide some simple example so that i can just paste and run the activiti workflow?

Regards,
Chandan

Outcomes