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

    Wednesday, February 29, 2012 10:39 AM

Answers

  • I resolved the permission issue by granting permissions on the .workflow forms
    • Marked as answer by teen_all Friday, March 16, 2012 7:41 AM
    Friday, March 16, 2012 7:41 AM

All replies

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

    Regards,

    Huzefa Mala.


    Regards, Huzefa Mala, MCTS

    Wednesday, February 29, 2012 10:51 AM
  • Hi,

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

    

    Wednesday, February 29, 2012 11:12 AM
  • 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

    Wednesday, February 29, 2012 12:20 PM
  • 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

    • Edited by teen_all Wednesday, February 29, 2012 12:30 PM
    Wednesday, February 29, 2012 12:22 PM
  • 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

    Wednesday, February 29, 2012 1:03 PM
  • How do I change the url in the email?
    Wednesday, February 29, 2012 1:05 PM
  • 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

    Wednesday, February 29, 2012 1:18 PM
  • 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

    Wednesday, February 29, 2012 1:23 PM
  • 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

    Wednesday, February 29, 2012 1:49 PM
  • Hi,

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

    Thursday, March 01, 2012 5:01 AM
  • 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

    Thursday, March 01, 2012 6:15 AM
  • 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


    • Edited by teen_all Friday, March 02, 2012 7:21 AM
    Friday, March 02, 2012 6:42 AM
  • 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

    Friday, March 02, 2012 7:26 AM
  • 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

    Friday, March 02, 2012 7:32 AM
  • 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

    Friday, March 02, 2012 9:46 AM
  • I resolved the permission issue by granting permissions on the .workflow forms
    • Marked as answer by teen_all Friday, March 16, 2012 7:41 AM
    Friday, March 16, 2012 7:41 AM
  • I am running into the same issue.How did you give permission to the workflow forms?
    Friday, July 20, 2012 9:57 AM
  • 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

    Tuesday, September 04, 2012 5:39 PM
  • 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 

    Saturday, March 23, 2013 3:12 PM