Restart Business Process from itself
It can be useful when one needs a constantly-running Human Task (for example, Upload batch file) which triggers execution of the whole Business Process. To restart this Business process, use the code below.
<?xml version="1.0" encoding="UTF-8"?>
<config charset="UTF-8">
<script></script>
<task-start
campaign-uuid="${item.getWrappedObject().getCampaignDto().getCampaignMapDto().getParentCampaignUuid()}"
main-data="${mainData}"
encoding="UTF-8"/>
<export include-original-data="true">
</export>
</config>