Deployment error while deploying process in joget dx 7

Confluence User - 30 Mar, 2021

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 "DEPLOYMENT ERROR..... failed to read schema document......" 

I already have java 11 sdk installed, up and running.

For your reference here's my xml:



<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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="travelRequestApp" Name="Travel Request App" 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="travelRequestProcess" Name="Travel Request Process">
<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="283,28"/>
</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="512,35"/>
</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="807,53"/>
</xpdl:ExtendedAttributes>
</xpdl:Activity>
<xpdl:Activity Id="notifyRequest" Name="Notify Request">
<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="986,119"/>
</xpdl:ExtendedAttributes>
</xpdl:Activity>
<xpdl:Activity Id="notifyApproved" Name="Notify Approved">
<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="982,20"/>
</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="notifyRequest" Name="">
<xpdl:Condition Type="OTHERWISE"/>
<xpdl:ExtendedAttributes>
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/>
</xpdl:ExtendedAttributes>
</xpdl:Transition>
<xpdl:Transition From="route1" Id="transition3" To="notifyApproved" 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="PBUILDER_TRANSITION_CONDITIONS" Value="[{&quot;join&quot;:&quot;&amp;&amp;&quot;,&quot;variable&quot;:&quot;status&quot;,&quot;operator&quot;:&quot;===&quot;,&quot;value&quot;:&quot;Approved&quot;}]"/>
</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=notifyApproved,X_OFFSET=1280,Y_OFFSET=26,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=notifyRequest,X_OFFSET=1306,Y_OFFSET=132,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>



Thanks!

process

5


30 Mar, 2021
confluenceUser
confluenceUser

What edition of Joget are you running and how did you install it?

Perhaps you can try on a different edition or try using an account on cloud.joget.com.

Maybe try changing to Open jdk-11.0.2-x64 at here.

30 Mar, 2021
confluenceUser
confluenceUser

Joget community edition and I tried using Open jdk-11.0.2-x64 ... 

It still gives me same error message as before.



30 Mar, 2021
confluenceUser
1
confluenceUser

Hi, there is a similar question at process deploy error (xsd file missing). There is a new 7.0.16 release, I believe it fixes the missing XSD file issue.

31 Mar, 2021
confluenceUser
confluenceUser

Thank you so much!! It worked .It turns out it was a bug, had to update it to joget version 7.0.16

01 Apr, 2021
confluenceUser
confluenceUser

I encounter a different error when I follow the travel request tutorial:

Type=ERROR, Sub-Type=SCHEMA, Location=Package 'travelRequest': __: [Error] at line number 2: cvc-complex-type.2.4.b: The content of element 'Package' is not complete. One of '{"http://www.wfmc.org/2002/XPDL1.0":PackageHeader}' is expected._____Type=ERROR, Sub-Type=LOGIC, Location=Package 'travelRequest' -> Script: __Unsupported script language (currently suported script types are text/java, text/javascript and text/pythonscript)_


I git clone https://github.com/jogetworkflow/jw-community.git and build on local. 

this is my process xml.


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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>

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print