Hey there, I was following the tutorial to make a travel request app. ..... so far I have created forms, datalist, userview but when I finished making process and tried deploying it it gave me an error saying:
I check the send xpdl xml by clicking the debug button on the right top it gei me:
<xpdl:Package
xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0"
xmlns="http://www.wfmc.org/2002/XPDL1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Id="travelRequest" Name="Travel Request" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<xpdl:PackageHeader>
<xpdl:XPDLVersion>1.0</xpdl:XPDLVersion>
<xpdl:Vendor/>
<xpdl:Created/>
</xpdl:PackageHeader>
<xpdl:Script Type="text/javascript"/>
<xpdl:Participants>
<xpdl:Participant Id="requester" Name="Requester">
<xpdl:ParticipantType Type="ROLE"/>
</xpdl:Participant>
<xpdl:Participant Id="approver" Name="Approver">
<xpdl:ParticipantType Type="ROLE"/>
</xpdl:Participant>
</xpdl:Participants>
<xpdl:Applications>
<xpdl:Application Id="default_application"/>
</xpdl:Applications>
<xpdl:WorkflowProcesses>
<xpdl:WorkflowProcess Id="process1" Name="Travel Request">
<xpdl:ProcessHeader DurationUnit="h"></xpdl:ProcessHeader>
<xpdl:FormalParameters></xpdl:FormalParameters>
<xpdl:DataFields>
<xpdl:DataField Id="status" IsArray="FALSE">
<xpdl:DataType>
<xpdl:BasicType Type="STRING"/>
</xpdl:DataType>
</xpdl:DataField>
</xpdl:DataFields>
<xpdl:Activities>
<xpdl:Activity Id="submitRequest" Name="Submit Request">
<xpdl:Implementation>
<xpdl:No/>
</xpdl:Implementation>
<xpdl:Performer>requester</xpdl:Performer>
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="requester"/>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="222,26"/>
</xpdl:ExtendedAttributes>
</xpdl:Activity>
<xpdl:Activity Id="approveRequest" Name="Approve Request">
<xpdl:Implementation>
<xpdl:No/>
</xpdl:Implementation>
<xpdl:Performer>approver</xpdl:Performer>
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="approver"/>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="219,50"/>
</xpdl:ExtendedAttributes>
</xpdl:Activity>
<xpdl:Activity Id="route1" Name="">
<xpdl:Route/>
<xpdl:Performer>approver</xpdl:Performer>
<xpdl:TransitionRestrictions>
<xpdl:TransitionRestriction>
<xpdl:Split Type="XOR">
<xpdl:TransitionRefs>
<xpdl:TransitionRef Id="transition2"/>
<xpdl:TransitionRef Id="transition3"/>
</xpdl:TransitionRefs>
</xpdl:Split>
</xpdl:TransitionRestriction>
</xpdl:TransitionRestrictions>
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="approver"/>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="395,55"/>
</xpdl:ExtendedAttributes>
</xpdl:Activity>
<xpdl:Activity Id="sendApprovedEmail" Name="Send Approved Email">
<xpdl:Implementation>
<xpdl:Tool Id="default_application"/>
</xpdl:Implementation>
<xpdl:Performer>approver</xpdl:Performer>
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="approver"/>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="577,15"/>
</xpdl:ExtendedAttributes>
</xpdl:Activity>
<xpdl:Activity Id="sendRejectedEmail" Name="Send Rejected Email">
<xpdl:Implementation>
<xpdl:Tool Id="default_application"/>
</xpdl:Implementation>
<xpdl:Performer>approver</xpdl:Performer>
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="approver"/>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="586,120"/>
</xpdl:ExtendedAttributes>
</xpdl:Activity>
</xpdl:Activities>
<xpdl:Transitions>
<xpdl:Transition From="submitRequest" Id="transition0" To="approveRequest" Name="">
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/>
</xpdl:ExtendedAttributes>
</xpdl:Transition>
<xpdl:Transition From="approveRequest" Id="transition1" To="route1" Name="">
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/>
</xpdl:ExtendedAttributes>
</xpdl:Transition>
<xpdl:Transition From="route1" Id="transition2" To="sendApprovedEmail" Name="">
<xpdl:Condition Type="CONDITION">status === 'Approved'</xpdl:Condition>
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_BREAK_POINTS" Value="orthogonal"/>
<xpdl:ExtendedAttribute Name="PBUILDER_TRANSITION_CONDITIONS" Value="[{"join":"&&","variable":"status","operator":"===","value":"Approved"}]"/>
</xpdl:ExtendedAttributes>
</xpdl:Transition>
<xpdl:Transition From="route1" Id="transition3" To="sendRejectedEmail" Name="">
<xpdl:Condition Type="OTHERWISE"/>
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_BREAK_POINTS" Value="orthogonal"/>
</xpdl:ExtendedAttributes>
</xpdl:Transition>
</xpdl:Transitions>
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_WORKFLOW_PARTICIPANT_ORDER" Value="requester;approver"/>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_START_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=requester,CONNECTING_ACTIVITY_ID=submitRequest,X_OFFSET=80,Y_OFFSET=40,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=START_DEFAULT"/>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_END_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=approver,CONNECTING_ACTIVITY_ID=sendApprovedEmail,X_OFFSET=810,Y_OFFSET=25,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=END_DEFAULT"/>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_END_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=approver,CONNECTING_ACTIVITY_ID=sendRejectedEmail,X_OFFSET=837,Y_OFFSET=135,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=END_DEFAULT"/>
</xpdl:ExtendedAttributes>
</xpdl:WorkflowProcess>
</xpdl:WorkflowProcesses>
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="EDITING_TOOL" Value="Web Workflow Designer"/>
<xpdl:ExtendedAttribute Name="EDITING_TOOL_VERSION" Value="5.0-pre-alpha"/>
</xpdl:ExtendedAttributes>
</xpdl:Package>
It looks so good. I debug the deploy request :
![image](https://user-images.githubusercontent.com/5210372/113262904-ba9d7b80-9303-11eb-96fd-5cd1d84d142d.png)
it shows a script element which cause the Unsupported script language (currently suported script types are text/java, text/javascript and text/pythonscript)
ps: I use the latest source code from the github.