none
Custom Workflow Issues - Email & manual start

    Question

  • Hi,

    I have created a custom workflow which collects feedback from the user. There are 2 issues with my workflow:

    1.  A user with contribute permissions or manage hierarchy permissions cannot manually start the workflow
    2. The link (item url) in the email notification is incorrect. The link needs to point to the domain that was created. for e.g. the link that users access is http://mydomain:6666/sites/test but in the email the link is http://servername:6666/sites/test

    Please help me

    Thanks,

    T

    mercredi 29 février 2012 10:39

Réponses

Toutes les réponses

  • Have you created workflow in SharePoint Designer? If yes, what are the steps in your workflow.

    Regards,

    Huzefa Mala.


    Regards, Huzefa Mala, MCTS

    mercredi 29 février 2012 10:51
  • Hi,

    Yes. I created a reusable workflow, content type all. I added the action start feedback process as shown below.

    

    mercredi 29 février 2012 11:12
  • Have you selected the option "Require Manage Lists permission to start the workflow"?

    Have you made a DNS entry for your sharepoint server? What was the URL of the site that you had used while creating the web application of this site? Was it http://mydomain:6666 or http://severname:6666?


    Regards, Huzefa Mala, MCTS

    mercredi 29 février 2012 12:20
  • No, I didn't select that option.

    I don't know about DNS.

    When creating the site the url used  was http://severname:6666. I did alternate access mapping as follows:

    Edit Public URL

    default:http://servername:6666

    internet: http:mydomain:6666

    custom: http://IP:6666

    • Modifié teen_all mercredi 29 février 2012 12:30
    mercredi 29 février 2012 12:22
  • It is possible that as your default URL is http://servername:6666 the email contains the URL as http://servername:6666

    And regarding the permissions issue - can you please recheck the permissions of users for your list/site. I am unable to recreate that issue.


    Regards, Huzefa Mala, MCTS

    mercredi 29 février 2012 13:03
  • How do I change the url in the email?
    mercredi 29 février 2012 13:05
  • In Alternate Access Mapping set

    default - http://mydomain:6666

    and others as you feel appropriate. But please make these changes on a test environment before doing anything on live.

    Did you check the permissions for the list/site? Are your contributors able to start the workflow?


    Regards, Huzefa Mala, MCTS

    mercredi 29 février 2012 13:18
  • The users have contribute permission. Got the following error

    A form template (.xsn) file cannot be accessed. You may not have the required permissions to open the file.
    Correlation ID:ced64338-1efd-443f-b882-b59febd80056

    mercredi 29 février 2012 13:23
  • On what action are they getting this error (on click of the workflows button, or on click of Start button of workflow, etc.) and can you check the ULS logs of sharepoint and find the exact error with the help of the correlation id.

    That would give a more clear picture


    Regards, Huzefa Mala, MCTS

    mercredi 29 février 2012 13:49
  • Hi,

    They get this error when they click on the workflow name. How do I view the ULS logs?

    jeudi 1 mars 2012 05:01
  • The ULS logs are the sharepoint logs located in the 14 hive (<drive>:\Program Files\Common Files\Microsoft Shared\web server extensions\14\LOGS)

    You can download ULSViewer to better view these logs.

    Perform the action which gives the error and check the last updated file in the above mentioned location with the correlation id and check for errors.

    This will be a more descriptive error which will help us understand the problem better.


    Regards, Huzefa Mala, MCTS

    jeudi 1 mars 2012 06:15
  • Hi,

    Here are the error details. Please help.

    The following location is in a different site collection: http://hpmu.pwco.com.mu:8088/sites/hp/Workflows/teena workflow/teena workflow.xsn. Access to locations on different site collections is blocked for security reasons. For more information, contact your site administrator.

    Area     : SharePoint Foundation
    Category : General
    Level    : Medium
    EventID  : 8e2s
    Message  : Unknown SPRequest error occurred. More information: 0x80070005
    
    Area     : InfoPath Forms Services
    Category : Runtime
    Level    : Medium
    EventID  : esu6
    Message  : The XSN is null and its not a cross server issue. Most likely a permission issue

    Thanks,

    T


    • Modifié teen_all vendredi 2 mars 2012 07:21
    vendredi 2 mars 2012 06:42
  • 1. Have you created an Infopath form for your workflow?

    2. Why is there a cross-site reference? Is your re-usable workflow created in a different site?


    Regards, Huzefa Mala, MCTS

    vendredi 2 mars 2012 07:26
  • No, I didn't create any infopath form. The forms get created automatically when you create a workflow.

    I am also confused about the cross-site.  My site is located on a remote server and in alternate access mapping I have set the default URL to http://hpmu.pwco.com.mu:8088/. I have installed sharepoint designer on my pc and when I publish the workflow I publish to the location http://hpmu.pwco.com.mu:8088/sites/hp

    vendredi 2 mars 2012 07:32
  • I am not very sure about this but can you try publishing the workflow to the URL that you had specified during web appplication creation.

    Please let me know if this works


    Regards, Huzefa Mala, MCTS

    vendredi 2 mars 2012 09:46
  • I resolved the permission issue by granting permissions on the .workflow forms
    • Marqué comme réponse teen_all vendredi 16 mars 2012 07:41
    vendredi 16 mars 2012 07:41
  • I am running into the same issue.How did you give permission to the workflow forms?
    vendredi 20 juillet 2012 09:57
  • Yes, just as dtp777 asked, I can't figure out how to grant permissions to the workflow forms.  I'm sure I'll figure it out in an hour..but for future readers, might want to shed some light...

    -JH

    mardi 4 septembre 2012 17:39
  • Actually, I had this the other day, I know it has been a while on this thread.

    1. Open SharePoint Designer

    2. Open site in question

    3. Go to All-Files

    4. Right Click on workflows --> Properties

    5. Go down and Click on List Permissions

    6. Check permissions 

    samedi 23 mars 2013 15:12