Path and Name field in SPD 2010 Workflow for creating Doc Sets

Hi Guys,
Here's hoping you can help out and give a few pointers. I'm currently trying to implement what I thought was quite a simple workflow involving the creation of a Content Type (similar to Doc Set but with additional field) within an alternative library when
a new item is added to the current library.
Create Item in CaseFileLibrary (Output to Variable: CaseFile)
When running the workflow, I keep getting the following error:
"The workflow could not create the list item because the file name is either missing or invalid. "
It seems to be related to the 'File and Path' field within the 'Create New List Item' field mappings. For this I have tried the CurrentItem:Title as some other forums suggest and have also tried entering the URL path e.g. /subsite_name/library_name/CurrentItem:Title.
(as the name of the CaseFile (Doc Set) is going to be the same as the current item name)
If anyone has any suggestions, I would be truely greatful.
Luke

Hi Luke,
This error indicates there is an error in the workflow logic. Ensure that the file name entered in the Path and Name field is a valid file name. Common reasons for a file name to be invalid include a missing or incorrect file extension or a file/path string
that is too long and exceeds the allowable number of characters.
More information, please refer to :
Common error messages in SharePoint workflow development
For the URL that you used in the ‘Create New List Item’, whether the CurrentItem:Title is a lookup, not typed by yourself. If not, please type /subsite_name/library_name/, then lookup CurrentItem:Title, like the below, then save and publish the workflow,
compare the result.
In addition, please use another name for the name, compare the result.
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support

Similar Messages

  • File Path and Name field does not display correct path

    We are using Crystal 2008 along with VS 2005. We embed the special "File Path and Name" field  inside our report and it displays the correct path when viewed inside Crystal reports:
    C:\Program Files\reports\Chart.rpt
    When run through the web and viewed in the DHTML viewer, the file name and path appear as follows:
    C:\Windows\TEMP\Chart {02152A43-3339-4C03-A50A-E281E1D391AF}.rpt
    How can this be corrected?
    Thanks in advance for any assistance.

    This is a known issue tracked under ADAPT0000962216. At this time I do not know when this will be resolved, however Service Pack 2 for CR 2008 is targeted to be released by September and this may contain the fix.
    Ludek

  • "File Path and Name" field not displaying correctly

    Post Author: DaveWoo
    CA Forum: General
    Hello,Here's my situation: I'm currently upgrading from Crystal Reports for Visual Studio .NET 2003 to Crystal Reports for Visual Studio 2005. I have several reports (programmatically generated using VB.NET) that use the "File Path and Name" special field. Now, in the old version of Crystal Reports (2003), the field properly displayed the original file path and name; however, in the new version (2005), the field displays as "C:\DOCUME1\Username\LOCALS1\Temp\Filename{F2459406-3719-4C8B-917C-4A7055A18C76}.tmp" - in other words, the location of the temporary .rpt file.How do I get the "File Path and Name" field to correctly display the path & name of the original file, like it did in the prior version?- Dave

    This is a known issue tracked under ADAPT0000962216. At this time I do not know when this will be resolved, however Service Pack 2 for CR 2008 is targeted to be released by September and this may contain the fix.
    Ludek

  • File Path and Name

    Hi everyone,
    I am scheduling reports in Crystal Reports Server.  My reports contain the "Special Field" File Path and Name.  However, when the report is sent out via CRS, it prints a different location of where the report actually resides.  In CRS, how can I make the file path and name field print the actual location of the report file rather than a rogue location?
    Thanks in advance,
    Zack H.

    Does anyone have any advice on this issue?
    Thanks in advance,
    Zack H.

  • SPD 2010 Workflow "Collect Data From User" activity + Multi User selection

    Creating a SPD 2010 workflow. Trying to do something that I think should be simple.
    Use a “Collect Data From a User” activity to collect 0 to many “people” that should be affiliated with a piece of content (Discussion).
    After the assigned user completes the task (and after ensuring that there have actually been people associated from the task) I want to take the “people” from the Task list item and move them over to a field on the core Discussion item,
    that is also setup as a Person/Group field (allowing multiple).
    I have tried using both the “Set Field in Current Item” and “Update List Item” activities to map the data over (pulling from the Task item) and in both cases tried using every combination of “Return field as”
    values to do the mapping (i.e. ‘String’, ‘Display Names, Semicolon Delimited’, ‘User Ids, Semicolon Delimited’, etc). In some cases I get vague errors about not being able to do mapping (I get it), in others, it sets the
    data, but only to the first user entered in the Task’s instance of the field.
    After researching a bit, I find that the task from which I am pulling the data only contains one value, eventhough when I submitted the InfoPath form for the task, it accepted my data entry of two
    different users. So I think somewhere between the data entry into the custom task's infopath form, and the update of the same data field in the Task list, the value is being lost.
    I am sure this would be trivial with a custom activity, but we are exploring OOB ways of doing things and I have to imagine this is possible.
    Am I missing something here? This seems “buggy”…
    I am able to repro this in two different environments, using an out-of-box Discussion Board on an out-of-box Team Site.  If it matters Claims Based Auth against Windows only...
    TIA!
    Brian McCullough

    Hi brianpmccullough,
    Collect Data from a user action can only use to collect data from one user, and if you need to collect data from one than one user, please use “Assign
    a Form to a Group” instead, then it will create separate task for each user.
    And if we need to update a user and group field which with multiple selections enabled, we can only use lookup field to get only the one user. And
    to add multiple users to this field, we can only use String Builder, type the user account directly or get information from multiple fields.
    Best regards
    Emir Liu
    TechNet Community Support

  • SPD 2010 Workflow: Issue with Associated Column

    We have a SP2010 Workflow that is attached to a Content Type and mapped in the Retention Policy settings. This workflow uses a DateTime column which is used within the Workflow and hence the DateTime column is used within the Workflow as an Associated Column.
    The issue being faced is that when we manually run the workflow, it runs successfully and is able to get the value of the associated column. When the Retention Timer job starts the workflow, we find that the Workflow is not able to get the value of the Associated
    Column (this we realized by logging messages to a List).
    Any pointers/guidance on how to overcome this issue is much appreciated.
    Blog: http://dotnetupdate.blogspot.com |

    Thanks for the suggestions. 
    From the debugging there is no issue from a functionality perspective or the date calculations. It works perfectly well when we manually run the workflow or if I set the workflow to start when an item is uploaded.
    The behavior is different when the same workflow is getting triggered from a Retention Policy as a Stage. Is this something to do with access permissions or security context when a SPD 2010 Workflow gets triggered by a Timer Job/Retention Policy? 
    Regards,
    Vikram
    Blog: http://dotnetupdate.blogspot.com |

  • Get (variable) file path and name in a text element

    How do you get the (variable) file path and name in a text element (label) in LCD? If you save the PDF and afterwards relocate it, it should update the values. Is that actually possible?

    Does anyone have any advice on this issue?
    Thanks in advance,
    Zack H.

  • FTP adapter should take file path and name at runtime..

    Hello All,
    I have requirement of getting the file from remote machine into local machine..thinking FTP adapter should help me to do this..
    I dont need to poll the remote directory. rather I will pass the exact path and name of the file to be fetched during runtime as an input to the bpel process.
    How to configure the FTP Adapter to receive the file path runtiime and gets it to local machine.
    Is it doable using ftp adapter..?
    Thanks
    Saikrishna

    Hello Anne,
    Thank you for the help.
    I am not able to call a adapter partner link using invoke activity..I am facing variable type conflicts.
    modified the
    OutboundFtpHeaderType wsdl to take file name and directory as:
    <complexType>
    <sequence>
    <element name="*fileName*" type="string"/>
    <element name="*directory*" type="string"/>
    </sequence>
    </complexType>
    Using Adapters tab of Invoke activity created a variable:
    <variable name="outputVariable"
    messageType="client:FTPadapterResponseMessage"/>
    <variable name="*filePath*" messageType="ns2:OutboundHeader_msg"/>
    Using Assign Activity, assigned the input varibales to the ftp outboundHeader variable:
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:FTPadapterProcessRequest/client:*directory*"/>
    <to variable="*filePath*" part="outboundHeader"
    query="/ns2:OutboundFTPHeaderType/ns2:directory"/>
    </copy>
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:FTPadapterProcessRequest/client:*filename*"/>
    <to variable="*filePath*" part="outboundHeader"
    query="/ns2:OutboundFTPHeaderType/ns2:fileName"/>
    </copy>
    </assign>
    Used the created variable in the invoke activity as a input paramater to the partner link:
    <invoke name="Invoke_1" partnerLink="ftpAdapterTest"
    portType="ns1:SynchRead_ptt" operation="SynchRead"
    inputVariable="*filePath*" bpelx:inputHeaderVariable="filePath"/>
    <reply name="replyOutput" partnerLink="client" portType="client:FTPadapter"
    operation="process" variable="outputVariable"/>
    I am getting an error in invoke activity:
    Variable type does not match the input type.
    Thanks
    Saikrishna

  • What is the correct way to format file paths and names in the structapp file?

    I am trying to create a structured application to export fm files as xml, and probably read the xml back to fm.
    In the structured application file (structapp), I need to specify the locations of the various files (DTD, read/write, template, etc). I would like to place these files on a shared server so others can use the same structapp file (that is, a cop of it). What is the correct way to format the file paths and names? Can folders folder names and file names have spaces in them? I tried the following, for example:
    \\serverName\shareName\folder 1\folder 2\file name.dtd
    I use the same format for the template file and the read/write rules file.
    When I try to save an fm file to xml, FrameMaker says that it cannot read the DTD; however, the resulting xml file appears to be well-formed. The DOCTYPE element in the resulting xml is formatted with forward slashes and spaces replaced with %20.
    I tried using forward slashes and replacing spaces with %20, but then I get an error about reading the read/write rules.
    NOTE: I have another structured application to read xml into fm. This application does not have a DTD file. The template and read/write rules files are specified as above. Except for complaining about a lack of a DTD, the application works fine; it even applies an XSLT in the process. Again, when I DO add a DTD to this latter application, I get the same complaint about not being able to read the DTD.
    I am using fully patched FrameMaker 9 in Windows XP.
    Thanks,
    Van

    Hi Van,
    The XML parser and FrameMaker are not the same thing. The Error Log says which component created which message. The XSL processor is another option that can throw messages. The "\\server\path\some.dtd" syntax in structapps.fm seems to be fine for some tools, as Internet Explorer with XML tools successfully finds the DTD which appears as "//server/path/some.dtd" in the XML. But apparently Xerxes, the XML parser bundled with FrameMaker, does not like this notation.
    If you have a path with a drive letter, "H:\path\some.dtd", FrameMaker turns that into "file:///H:/path/some.dtd". It seems, Xerces would like to see "file:/" in front of absolute paths.
    This is what I have in structapps.fm:
    Template: \\server\path\projecttemplate.fm
    DTD: some.dtd
    Read/write rules: \\server\path\projectrules.txt
    DOCTYPE: …
    Entity locations
      Entity search paths
        1: \\server\path\
    In the structapps.fm I have the DTD without path information. The resulting XML (without XSL postprocessing) then contains just the file name with a relative path back to the book folder (when saving a book as XML). It therefore requires the DTD to be available at this place. I handle this using an event script that fires for NotePreSaveXml and copies the DTD to the folder of the original document.
    As I always use XSL postprocessing and using XSLT1 it is not possible to have the doctype-system as a parameter I have this in my XSL stylesheet:
    <xsl:output doctype-system="some.dtd" />
    For the resulting XML the DTD is expected to be in the same folder as the XML file. This is handled by the same event script as above, it therefore copies the DTD to the source and the target folder.
    Bottom line: If you want/have to use UNC paths, you have to do some programming to work around a FrameMaker bug.
    - Michael

  • Create a tablespace without specifying the datafile path and name

    HI,
    Is it possible to create a tablespace without specifying the datafile path and name.
    For eg : if we just specify the tablespace name and the size of the datafile, the datafile should be created in a default location with default name? Is it possible?

    user13364377 wrote:
    HI,
    Is it possible to create a tablespace without specifying the datafile path and name.
    For eg : if we just specify the tablespace name and the size of the datafile, the datafile should be created in a default location with default name? Is it possible?Using Oracle-Managed Files
    Oracle internally uses standard file system interfaces to create and delete files as needed for the following database structures:
    * Tablespaces
    * Online redo log files
    * Control files
    Through initialization parameters, you specify the file system directory to be used for a particular type of file.
    EXAMPLE:
    The following parameter settings are included in the initialization parameter file:
    DB_CREATE_FILE_DEST = '/u01/oradata/sample'
    DB_CREATE_ONLINE_LOG_DEST_1 = '/u02/oradata/sample'
    DB_CREATE_ONLINE_LOG_DEST_2 = '/u03/oradata/sample'
    The following statement is issued at the SQL prompt:
    SQL> CREATE DATABASE sample;
    SQL> CREATE TABLESPACE tbs_2 DATAFILE SIZE 400M ;
    SQL> CREATE UNDO TABLESPACE undotbs_1;
    refer the link for more information:
    http://download.oracle.com/docs/cd/B10500_01/server.920/a96521/omf.htm

  • Best workflow for creating games for pc and starling games in AIR

    best workflow for creating games for pc and starling games in AIR.
    I need to develop for tablets with starling and AIR as well as for pc without starling ie: downloading from a server.
    In starling you have to
    1. instantiate starling
    2. use texture atlases for loading graphic assets - well its the recommended way
    3. use juggler
    etc...
    ie: with all these differences is it best to:
    1. create completely different projects
    2. just create different classes for the starling specific parts
    3. use a conditional compile constant
        eg: CONFIG::STARLING
                "then do this"
    or      CONFIG::CPU
              "then do this"
    I currently have the latter but it feels a little messy. I would prefer separate classes for each platform where the image loading is concerned.
    There must be so many game developers out there but in large gaming companies that know exactly what to do. Perhaps you can point me in the right direction with a book or something.
    CHEERS

    The other thing is that I can't see the games being very different as you suggest. I have downloaded Lee Brimelows tut on creating a starling game on Lynda.com and the code is great for creating games using states for menu, play, gameover etc... The only difference is that he uses texture atlas and there is a great difference in loading them etc... so technically you would only need to handle them in a different class as collision and the rest of game play should be the same in both. I think!!!
    Well, actually not exactly but near enough - maybe it might be easier to create separate projects and just cut and paste the new code introduced.

  • Best workflow for creating logsheets before ingesting.

    I'm looking for the best workflow for creating detailed log sheets of my avchd footage before ingesting/transferring it to FCP. I have many hours of footage shot with my Sony NX5U and only want to ingest the necessary clips. I'm using FCP 6.5 on a MacPro tower. Thanks.

    >I'm using FCP 6.5
    NO you are not.  You might be using FCP 6.0.5.
    Well, the only way you can ingest only sections of tapeless media is by using Log and Transfer.  And you cannot Log clips first, and transfer later.  You cannot do the same thing you did with tape, make a Batch Capture list.  So you would look at your footage in the FCP L&T interface, and you can send one to be transcoded while you move onto the next one to watch.  That can happen at the same time.
    But, there's another issue here.  The Sony NX5U uses an AVCHD format that is slightly different than normal...not that there is a normal.  But I discovered that importing clips up to 10 min in length work fine, but anything over 10 min, and it took 4-5 times longer to import.  meaning a 30 min clip took just over two hours.  It was something that ClipWrap2 addressed before FCP did...and they only addressed the issue with the FCP 7.0.3 update.  FCP 6.0.5...or even the last update for that version, 6.0.6, doesn't address this.  There might be issues in importing this footage into FCP 6.
    And the other options...Avid Media Composer and Adobe Premiere...don't have a "log and transfer" type interface.  They bring in the full clips only.  With Premiere, you are stuck with them being full length.  But with Avid, you acccess the footage via AMA (Avid Media Access), and then you'd make your selects on a sequence, and then consolidate/transcode only the footage on the sequence. 
    And no, there's no way to make a logging sheet for these apps either.
    The best you can do is watch the footage, note the timecode, and manually enter those numbers when you go to bring in the footage.

  • Need to set "Title", "Display Name" and "Name" fields to custom string property "RMA Number" for each instance of custom work item

    Hi,
    We have a custom Work Item we use to track RMA's. I've created a string property called RMA Number which is also used as a key.
    RMAs do not have titles or any other identifying properties other than the unique RMA number (think incident number).
    I was wondering what the best approach would be to set these other fields ("Title", "Display Name" and "Name") to the RMA Number value (RMAXXX), as I'm currently investigating using a powershell script via a workflow.
    Thanks,
    Pietro

    Hi Marcel,
    I've come up with the following:
    # Load the SMlets module
    Import-Module SMlets
    # Get the RMA Class
    $RMAClass = Get-SCSMObject -Class (Get-SCSMClass -Name MyWorkItem$)
    foreach ($RMA in $RMAClass)
    $RMANumber = $RMA.RMANumber
    $RMA | Set-SCSMObject -PropertyHashtable @{"DisplayName" = $RMANumber; “Title” = $RMANumber; ”Description” = $RMANumber; }
    Is it possible to make it aware of which RMA work item executed it, and only update that one? Updating all the records each time a new one is created will cause some problems in the future.
    Thanks,
    Pietro

  • Function module for logical file path and name

    Hello all,
    I am wondering is there any function module available to translate a logical file path to a physical file path and a logical file name to a physical file name? Thanks a lot!
    Regards,
    Anyi

    Please check the FM FILE_NAME_GET.
          CALL FUNCTION <b>'FILE_GET_NAME'</b>
             EXPORTING
               logical_filename = 'ZDELCHKREP'
               parameter_1 = it_cntry-cntry
             IMPORTING
               file_name        = l_file
             EXCEPTIONS
               file_not_found   = 08.
        CALL FUNCTION <b>'FILE_GET_NAME_USING_PATH'</b>       EXPORTING
             logical_path = 'ZDELCHKREP'
             file_name = l_file
           IMPORTING
             file_name_with_path = l_file.
    Message was edited by: Anurag Bankley
    Message was edited by: Anurag Bankley

  • System and Query field disable in Data Manager for Netweaver BI

    Dear All.
    i have installed Xcelsius Engage Server 2008, when i try to add connection for SAP Netweaver BI from the Data Manager the dialog appears correctly but in Defination TAB only the Name field is enable both System and Query field is disable.
    without that how can i configure the connection please let me know how to fix this issue.
    Kind regards,

    Hi,
    You give the name of the connection and then click on "Browse".  It will then prompt you to connect to the desired system.  Log in and then select the appropriate query you want to build a dashboard on.
    Hope this helps.
    Regards,
    RashmiG

Maybe you are looking for

  • EventListeners

    Hi all, I have been testing today with Eventlisteners in CS3. Can't figure out the logic of it. I have the code below: #targetengine "session" main(); function main(){ var myApplicationEventListener = app.eventListeners.add("afterOpen", myEventInfo,

  • FCP 7 "Share to blu-ray" burn issue.

    This may not actually be a FCP issue, but possibly some of you here are experienced in the matter. Firstly, my video is 1080/24p ProRes. This is my first jump into Blu-ray, and I'm quickly learning the many work-arounds, but have run in to a problem.

  • Need wireless advise/help.

    The guy down the hall, 20 feet or so, is providing an access code to his wireless network for 10$/month. I do not have an AirPort card but I do have an AirPort slot. I see AftertheMac has APPLE WIRELESS USB AIRPORT CARDS (Compatible with All Wireless

  • Unable to view table fields of Table/view while generating the Datasource

    Hi, I am using DB Connect to connect to DB6 DB and i am using BW 3.5 with Oracle DB. I have DB6 DB listed in the Source system under RSA1 and i am trying to generate the Datasource. If i goto RSA1--> Source system --> Right click on the source system

  • 2's compement in labview

    Have some problems in converting string to binary values using 2's complement. managed to convert number to binary all values are in 1's complement.. anyone can help pls?