Skip to main content

How can I modify a task?

Comments

13 comments

  • Prajakta

    Could you please hover over the perform icon of that task and see the exact username for whom that task is locked:

     

    The usernames in frevvo are case sensitive. So 'Jerry' and 'jerry' are considered as two different users. Please make sure that you are using correct case in the usernames when assigning tasks.

    Also, you can login as tenant admin of your frevvo tenant and Modify that task to assign it to the correct user.

    0
  • James Johnson

    It states that the task is locked by me (see taskLockMessage.jpg). Note: I can perform the task. However, if I try to edit the task (i.e. click on the pencil icon, fill reset to step and other field, and click submit), I get the attached error (see lockError.jpg). 

     




    taskLockMessage.jpg
    lockError.jpg
    0
  • Prajakta

    Could you please download and attach your flow zip file here?

    Also, be good if you could attach  screenshot of the audit trail of that task.

    0
  • James Johnson

    Both items are attached. Thanks.




    TaskHistoryAuditTrail.jpg
    NewUserFormWorkflow_flow.zip
    0
  • Prajakta

    I tried to reproduce the error using your flow on my v5.3.5.24702 setup, but it works without any error for me.

    Could you please check the log files in <frevvo-install-dir>\frevvo\tomcat\logs directory to see if there are any error details in there? Please attach the logs here.

    Could you try creating a new task and see if you get the same error when you try to modify it?

    Please let us know the exact frevvo version you are using.

    0
  • James Johnson

    Log is attached. I get the same error when creating a new task and trying to modify it. I'm using Live Forms server 

    frevvo Version 5.3.2
    Revision 24396

    with the latest confluence frevvo add-on 5.2.0.24621. I'm using confluence version 5.5.3




    frevvo.log
    0
  • Prajakta

    I see this error in your log file:

    09:11:26.215 |-ERROR [http-nio-8443-exec-7] [c.f.f.u.u.DocumentSetUtil] - Could not POST document set to URI: https://samformsmem1:8443/frevvo/web/tn/saminc.com/subject/employee0/task/25fffdd1-fad1-48be-97e9-46856246606c?_method=put
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    This usually indicates either incorrect SSL configuration or an expired SSL certificate.

    Could you please verify the SSL settings of your frevvo server and confluence server to confirm if they are correct?

    0
  • James Johnson

    I have now created a self-signed certificate and configured as suggested in SSL settings. Specifically,

    1. Created the self-signed certificate

    $JAVA_HOME/bin/keytool -genkeypair -alias tomcat -keyalg RSA

    2. Created a CSR

    keytool -certreq -keyalg RSA -alias tomcat -file certreq.csr -keystore /home/test/.keystore

     

    3. Submitted the generated file called certreq.csr to the certificate authority (AD)

    C:\>certreq -submit -attrib "CertificateTemplate:WebServer" certreq.csr

    4.Exported the CA Root Certificate (from our AD)

    5. Added the CA Root Certificate to the Tomcat Keystore

    keytool -import -alias CARoot -keystore /home/test/.keystore -file /home/test/CARoot.cer

    6.  Added the Signed Certificate to the Tomcat Keystore

    keytool -import -alias tomcat -keystore /home/test/.keystore -file /home/test/frevvo.cer

    7. Uncommented and modified the Connector element as follows in the app server's server.xml

    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true"
            maxThreads="150" scheme="https" secure="true" clientAuth="false"
            sslProtocol="TLS" keystoreFile="/home/test/.keystore" keystorePass="myPassword" alias="tomcat"
            connectionTimeout="20000" maxHttpHeaderSize="32768"
            useBodyEncodingForURI="true" />

    8. Changed the '''frevvo.port.ssl''' parameter found in </frevvo/-home>/tomcat/conf/localhost/frevvo.xml:

    <Parameter name="frevvo.port.ssl" value="8443" override="false"/>

    9. Restarted the app server

    Noted that the browser (Chrome) now displays the Green https lock (attached), but the log reports the same error when trying to modify a task.




    httpslock.jpg
    0
  • James Johnson

    Am I missing a or have an incorrect step in my previous comment? I greatly appreciate any help. Being able to route a task back to the sender is very important to us.

    0
  • Prajakta

    Could you please attach your \frevvo\tomcat\conf\server.xml file here?

    0
  • James Johnson

    Thanks for the quick response. The file is attached. You'll notice two commented out Connector elements. I tried those versions as well and received the same error message.




    server.xml
    0
  • Prajakta

    Please see this documentation. You can set the frevvo.certificate.signature context parameter in web.xml to true to ignore the certificate error. See these steps about editing web.xml file.

    Note that the error you are getting is expected as a security measure. Using self signed certificate with above parameter is not a setting for production deployment.

    The other option is to use http instead of https, or get a real certificate.

    0
  • James Johnson

    Thanks. I was able to resolve the issue by importing the (CA and server) certificates into the cacerts keystore. No changes to the web.xml file were needed. I was using a different keystore file located at /home/test/.keystore. I thought the keyStore attribute within the Connector element would direct the server to correct keyStore. 

    0

Please sign in to leave a comment.