Solved

Workflow works in Site Collection root, but not subsites.

Posted on 2012-03-13
1
1,918 Views
Last Modified: 2012-06-21
Due to my OOB workflows not running due to being run by 'System Account' (Failed on Start), I have created a basic custom approval workflow.

If I use this on any list or library within the root of the site collection, it works fantastic.
However, when I apply this to a subsite somewhere, the workflow starts, but when they go in to approve the task, they get the error:

A form template (.xsn) file cannot be accessed. You may not have the required permissions to open the file.

Following the correlation ID, I get the following:

Name=Request (GET:http://t-room:80/functions/ftandt/apar/_layouts/WrkTaskIP.aspx?List=2657d5f1%2Dc0d9%2D4f46%2Da147%2D5870c89a572e&ID=11&Source=http%3A%2F%2Ft%2Droom%2Ffunctions%2Fftandt%2Fapar%2F%5Flayouts%2FWrkStat%2Easpx%3FList%3D2a6fdd7d%2De970%2D47d7%2D8c46%2D499440f3ccfe%26WorkflowInstanceID%3D%257b1EE4594B%252d04A3%252d493C%252d8E90%252d547B3020D5AE%257d&IsDlg=1&Web=cdc186fb%2D3324%2D4f59%2D8a78%2D5c85a6ceeb6d)

Site=/

Setting [Display] as the FormContext.FormMode for the current page

Cannot open file "Workflows/Test Approval/Approval Workflow Task _x0028_en-US_x0029_ Copy.xsn".

The XSN is null and its not a cross server issue. Most likely a permission issue

The XSN is null after attempting to get it from SiteAndWebCache

Leaving Monitored Scope (Request (GET:http://t-room:80/functions/ftandt/apar/_layouts/WrkTaskIP.aspx?List=2657d5f1%2Dc0d9%2D4f46%2Da147%2D5870c89a572e&ID=11&Source=http%3A%2F%2Ft%2Droom%2Ffunctions%2Fftandt%2Fapar%2F%5Flayouts%2FWrkStat%2Easpx%3FList%3D2a6fdd7d%2De970%2D47d7%2D8c46%2D499440f3ccfe%26WorkflowInstanceID%3D%257b1EE4594B%252d04A3%252d493C%252d8E90%252d547B3020D5AE%257d&IsDlg=1&Web=cdc186fb%2D3324%2D4f59%2D8a78%2D5c85a6ceeb6d)). Execution Time=139.885097128266

Open in new window


The permissions looks fine, and it works on the root, I'm thinking that the path "Workflows/Test Approval/Approval Workflow Task _x0028_en-US_x0029_ Copy.xsn" is not checking back to the root, but trying to find the globally published workflow within it's ftandt/apar/ subsite.
0
Comment
Question by:techvagabond
1 Comment
 
LVL 4

Accepted Solution

by:
techvagabond earned 0 total points
ID: 37722975
This may have been due to the workflow being associated with the list within SPD.
I don't recall doing it, but when I duplicated the workflow, and renamed the approval tasks within it, I published globally, and all was well with the world.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now