Hi,
I am working on a work flow where i need to call a task based on a condition. i.e i will have only one button on UI and based on some condition, i will call next task. How can i achieve this functionality using alfresco javascript? You can also suggest other possible ways.
i need something like this to work
<script>
var name = bpm_package.children[0].properties["pm:type"];
if (name == "something")
{
<transition name="escalate" to="level1" />
}
else
{
<transition name="escalate" to="level2" >
}
script>