Custom Workflow Activities on diferente languages sites

Hello everyone,
I've developed some custom workflow activities on VS, and they are all working correctly on all sites of the default language (English).
My problem now is that I've installed another language pack (Portuguese) and created several sites with this language pack, and my custom WF activities doesn't appear in SPDesigner workflows on those sites. 
Anyone knows why is this happening? and what can I do to make them available on every language pack?

Hello Eduardo,
The scope of my custom activities are WebApplication, and I can't change that because it provides multiple custom activities to several website on our sharepoint farm to already running workflows, and I want to be able to use them in any website.
The web site where I'm trying to use my custom activities was created after the installation of the language pack, and it was created on that language (Portuguese). Everything on the website is in Portuguese, even the workflow semantics on Sharepoint Designer
is in Portuguese (only for that site).
That's why I think my activities doesn't show up, because they are not available on that language pack. All default SharePoint activities appear translated to Portuguese, but mine doesn't appear at all.
Anyone?

Similar Messages

  • Custom workflow activities

    I need to write a custom workflow to get more opportunities in the list of opportunities and then generate invoice with details.. do you have an idea??
    thanks.

    After having registered the custom workflow activity, you should have to restart Asynchronous process service and IIS...
    My blog : http://mscrmtools.blogspot.com
    All my tools for Dynamics CRM 4.0 on my dedicated site:
    MSCRMTools Repository
    Upgraded tools for Dynamics CRM 2011!
    View Layout Replicator for Microsoft Dynamics CRM 2011
    Searchable Property Updater for Microsoft Dynamics CRM 2011

  • Custom SharePoint 2013 workflow activities in site template throw error on site creation

    Hi all,
    I have created a number of custom activities for SharePoint 2013 Workflows and I am using them on an Office 365 environment. The custom activities are packaged as a sandbox solution and deployed on my Office 365 site. Everything works as expected.
    I have now created a site with all the functionality I need, including some Site and List workflows - all of them containing my custom activities. I saved the site as a template - including content - and the process was completed successfully.
    My problem is that when I try to create a site based on that template, I get the following error:
    Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_66b9230b_823e_4783_82b8_daf481237847' from scope '/spo/d42a4487-9465-4347-9f2c-a2718e92fc02/74d0f9e7-fb35-493d-86fb-ab7aa27da7e0/c2e1bf45-cf67-4e13-9755-421cf92395f8'
    was not found. HTTP headers received from the server - ActivityId: 0997496a-5a15-4b83-82eb-727881eefa67. NodeId: . Scope: . Client ActivityId : c82f6e9c-9f8f-808b-7679-f2c0f92a339d. ---> System.Net.WebException: The remote server returned an error
    After a number of trials and errors, I am certain that this relates to my custom activities. i have already tested all of the following scenarios:
    Delete the workflow with the custom actions: Site is created successfully.
    Create a new workflow with no custom actions and save the site as a template:
    Site is created successfully.
    Save the site template including a workflow with my custom activities, but not including content:
    Site is created successfully, but my workflow is not there.
    Create a new custom workflow activities sandbox with one custom activity that just writes something to the history list - just to make sure that this is not related to any specific solution. Save the site as a template:
    Site creation throws the same error.
    Packaged my workflow (with my custom activities) as a wsp from SharePoint Designer and deployed it as a custom solution. Activated the feature in the target site. The workflow gets created and executing finally. Saved the site as template: Site
    creation throws the same error.
    Same as above, but without activating the feature in the target site: Site created successfully, workflow works fine after I activate the feature in the new site.
    My custom activities feature is always enabled in the site I save as template - in all of the above scenarios.
    I have tested all of the above scenarios both on SharePoint 2013 on-premise and Office 365. There is
    a forum post regarding some inconsistencies in the wsp file, but unfortunately this is not my case. Am I doing something wrong? Are custom 2013 workflow activities not supported in site templates - which would not actually make any sense, as it would "break"
    the fundamental concept of re-usability.
    Any ideas/feedback/guidance?
    Thanx in advance

    Hi,
    I am facing the same issue. Kindly help me out if any of them have solved similar issue. 
    Your help would be appreciated.
    manikantan

  • How do I add my Custom Workflow Activity to FIM 2010 R2 SP1 installed on Windows 2012 server?

    Hellos.
    I have tried and failed to add my custom.dll into the Windows Server 2012  GAC.
    We have a version of FIM 2010 R2 Sp1 running on Windows Server 2008 R2 and that was no problem. There seemed to be a gacutil.exe present on the system which added my assembly.
    I cannot find gacutil.exe on the Windows 2012 Server.
    I have downloaded and installed Windows SDK for Windows 8. However, when I try the gacutil.exe /i <myCustom.dll> nothing seems to happen.
    Are there any guidelines how to add custom workflow activities to FIM when installed on a Windows Server 2012 system?
    TIA
    *HH

    Well yes. It is fine when FIM is hosted on Windows Server 2008 R2.My difficulty is that I am using FIM 2010 R2 Sp1 and Windows Server 2012. No GACutility executable.
    However, the problem has been resolved. Powershell can be used to modify the assemblies.
    I opened a RunAs Administrator PS session. My assembly is in folder c:\Temp
    Using Windows Explorer I browsed the folder c:\windows\assembly and noted the System.EnterpriseServices entries: version (2.0.0.0) and public key token (b03f5f7f11d50a3a)
    (My version is 2.0.0.0 because when installing FIM and SharePoint 2013 the instructions I used suggested setting .Net version to be 2.0)
    These powershell commands got me going...
    PS C:\temp> [System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
    GAC    Version        Location
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50...
    PS C:\temp> $publish = New-Object System.EnterpriseServices.Internal.Publish
    PS C:\temp> $publish.GacInstall("c:\temp\RunPowershellLibrary.dll")
    PS C:\temp>
    PS C:\temp>
    PS C:\temp> iisreset
    Amazingly I can see the assembly RunPowershellLibrary in my Windows 2012 GAC. :-)
    Also, what is more cheering is that the custom activity actually works with FIM 2010 R2 Sp1.

  • How to create a Language Branch using custom workflow?

    Hi,
    I’ve a requirement where I need to create a workflow process which will create a Language branch.  i.e I wanted to achieve the functionality using custom workflow as given in the docs: https://dev.day.com/docs/en/cq/current/administering/multi_site_manager.html#Managing the Translation of your Language Branches 
    As per the OOTB functionality,
    1.     If the target page is not exist in the Language branch, it will copy the reference page to target path.
    2.     If the target page is already exists, it will not create a copy of the reference.           
    After the translation, if we make any changes in the reference page and activate the reference, then we have a button called 'Show side by Side' under Translation in the side kick which shows differences between reference page and translated page.
    Example:
    So, I would like know how we can achieve this in my custom workflow process. In my workflow process, I’m checking whether the page is existed in the target path or not. If not exist, I used page copy.
    Eg: Page page = newPage.copy(originalPage,targetPath+"/"+originalPageName,null,true,true );
    When I use above api, it just copies the page and it will not maintain any relation with reference page.
    Any pointers would be more helpful.
    Thanks
    Siva

    Hi,
    I have a similar request to export the texts from one language and after the translation to import them to the new language, did you find any solution? My question is how can I add some steps into my workflow to validate the imported data -and if the user validate the texts then proceed with next step(in my case I import the text from a file and generate a form with values). I read the documentation from Adobe but I didn't find anything related to how we can add a workflow to a dynamically generated from(I don't use the CQ form component).
    Can anybody help me with this?
    Thx, Lorand

  • Custom workflow - How to go from single server to multiple?

    I have been working on a project that involves developing a custom workflow activity for SharePoint 2013. I am developing it in a single server environment working with http. My problem occurs when deploying to multi-server environment with https (WFE, APP).
    My question is how to deploy my solution to the new environment. 
    The steps:
    Create a project - c# activity library
    Add a workflow activity, add .xml
    Deploy the .dll and .xml of project to "C:\Program Files\Workflow Manager\1.0\Workflow\Artifacts" "C:\Program
    Files\Workflow Manager\1.0\Workflow\WFWebRoot\bin"
    net sotp "Workflow Manager Backend"
    net start "Workflow Manager Backend"
    gacutil to deploy the .dll to GAC
    iisrest
    Create a project - empty SharePoint 2013 project
    Add a workflow custom activity to project
    Edit .actions4 and .xaml (my custom code from previous project is in this project now that i can drag and drop in .xaml)
    Deploy to server, activate feature, open SharePoint Designer 2013 and choose the custom action that now appears when creating a 2013 workflow
    This all works fine and dandy on my single server environment. Workflow is working like a charm. How should I go about deploying this to a multi-server environment with https? Does that server need Visual Studio on it also? I have continued to deploy the
    .dll and .xml to the workflow manager backend folders. I have continued to deploy the .dll to the GAC also. When I upload the solution to the new site, it continues to work. When I open designer to create the workflow, it breaks and i cannot create or edit
    any of the workflows on that site. Do i need to be doing something different because i am going from a http environment to https?
    Let me know if this is unclear or if anyone needs more information. Thanks

    If I understand correctly, your workflow still working fine in multi-servers farm but having problem in SharePoint designer. As far as I understand your custom activities should be deployed in the server where your workflow manager is running. Good architecture
    would be to put the workflow in app server (or in it's separate server). But if you are also using HTTPs in multi-server farm whereas the workflow configured over HTTP, you might need to register the workflow (I'm not quite sure though, so you can try in some
    test environment first).
    I've worked with SharePoint 2013 workflow but I intentionally didn't develop custom activity. Rather I develop custom WCF service in SharePoint. And then used the service from workflow. This is how I could use a separate dedicated server for workflow (if
    needed ever) without having any reference to SharePoint DLLs from inside workflow.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Open url link in custom workflow. SharepPoint 2010

    Hi, i created custom workflow in Visual studio 2010. I want my workflow opened page of the site. In workflow i using method - Process.strart("http:\\mysite\myform.aspx") try to open the page. But my workflow is completed after his the start.
    Browser does not open the page i have. Can you please tell me how best to do to open up the site url in the workflow code. Thanks.

    I don't think you can.  Workflows run in a background thread on the server, so even if you were able to open a web page it would open on the server, not the client.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Issue in a custom workflow with Approval Type Notification. Urgent

    Hi
    I have created a custom workflow which contains an approval notification.
    If the user approves/rejects the notification I need to update a table column as Approved or Rejected.
    I have created a function activity,say X, which calls a PL/SQL procedure.
    The issue is,
    when the user approves or rejects the notification, the function X errors out even without entering the PL/SQL procedure.
    Following is the error message
    An Error occurred in the following Workflow.
    Item Type = XXYH_UMX
    Item Key = 55
    User Key =USERKEY:55
    Error Name = -6502
    Error Message = ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Error Stack =
    Wf_Engine_Util.Function_Call(XXYH_UMX_WF_PKG.is_resp_assigned, XXYH_UMX, 55, 242407, RUN)
    Activity ID = 242407
    Activity Label = XXYH_UMX_ASSIGN_RESPONSIBILITY:XXYH_UMX_RESP_ASSIGNED
    Result Code = #EXCEPTION
    Notification ID =
    Assigned User =
    If I go the function from any other function,say Y, (bypassing approval notification) it works fine.
    Can you please help me what could be the issue?
    Thanks,
    Kamath.

    The danger in putting in one activity is that if there is any scope longer-term to expand the process to multiple activities, then it may be better to break it out into a sub-process early in the design phase.
    Generally, you get the feeling from the client fairly early on about whether they have a final design and how likely they are to complicate the process later on :)
    I wouldn't include it as a post notification function myself - it saves a tiny amount of processing time and database space, but at the cost of making it less clear what is happening. Plus you'd need to check the result in the PNF manually - putting it on a conditional branch ensures that you always know what the value is. If the lookup type changes at any stage, you would need to check a PNF to ensure that the code still remains valid; if it's on a branch then the only thing to change would be to change the label on the branch.
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Workflow Activities not executing in Parallel

    Hi,
    I am using Oracle Workflow as a dependency management system to load a Data Warehouse.
    Workflow Activities are used to execute a custom PL/SQL wrapper that kick off Oracle Warehouse Builder (OWB) mappings that load target tables with source system data.
    This process works correctly and data is loaded into the Data Warehouse as expected.
    However, when I create a Workflow with activities in parallel they are not loaded concurrently, they load sequentially instead.
    ie.
    START
    => ACTIVITY1 =>
    => ACTIVITY2 =>
    => ACTIVITY3 =>
    AND => END
    In the example above I would expect all 3 Activities to run in parallel, then wait until all 3 are completed at the AND condition.
    All 3 Activities above are DEFERRED to the Background Engine.
    After executing the Workflow and viewing the Workflow Public View WF_ITEM_ACTIVITY_STATUSES_V, it displays all of the Activities in DEFERRED status as expected.
    Workflow then proceeds to execute each Activity one at a time, instead of all 3 at once.
    Any ideas how to execute all 3 Activities in Parallel?
    Thanks.

    Hi,
    If the activities are all PL/SQL, then the Workflow Engine doesn't run anything in parallel - there is only one engine processing the activities. The theory is that it runs so quickly it will look like it's in parallel with no real effect.
    So what you are getting is expected behaviour - it's just that because you have deferred it to the background engine, you have a greater opportunity to see how the engine works.
    HTH,
    Matt
    Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
    http://www.workflowfaq.com
    http://forum.workflowfaq.com
    NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com

  • Oracle Custom Workflow Redesign best practices

    Hi All,
    Morning , need some help with this scenario.
    We are in the process of redesigning existing developed custom Oracle Workflows in our system ( Oracle Apps Release 12.0.6 )
    hence wanted to know if there are steps or guidelines/best practices which could be followed in this situation on points like handling performance issues with the workflow , how to handle the purging of the obsolete workflow data , design steps regards notifications, how to handle error conditions with workflow activities and how to retry activities ( means if any activity within the workflow process shows error how it could be retried or re executed in real time without any delay).
    means any pointers which could be considered for this redesign actvity , any best practices document/steps and guidelines would be really very very helpful here...
    Regards

    This is a very broad question - narrowing it to specifics might help folks respond better.
    There are a lot of documents on MOS that refer to best practices from a technology stack perspective.
    Oracle Workflow Best Practices Release 12 and Release 11i          (Doc ID 453137.1)
    As far as functional practices are concerned, these may vary from module to module, as functionality and workflow implementation vary from module to module.
    FAQ: Best Practices For Custom Order Entry Workflow Design          (Doc ID 402144.1)
    HTH
    Srini

  • How to use position hierarchy for approval in custom workflow ?

    Dear All,
    I have created a custom workflow which fires when ever a new supplier site is created.
    Now I want to add approval hierarchy in this flow. For that I want to use Position Hierarchy.
    I have not find useful resources for doing that. Can you please help me?
    Regards,
    Rubayat

    Hi;
    Please review:
    How to Create a New Position Hierarchy [ID 437489.1]
    Adding Positions to a Hierarchy from Another Business Group [ID 356127.1]
    How To Determine Position Controlled Organizations In The Hierarchy? [ID 549628.1]
    How Does One Create and/or Update Position and Position Hierarchy in HR Using an API? [ID 736443.1]
    Using AME, How To Create Approval Routing To a Certain Position In HR Position Hierarchy [ID 1501433.1]
    Regard
    Helios

  • Unable to register custom workflow activity on MS CRM 2015 Online

    Hi All,
    I am trying to register custom workflow activity using plugin registration tool on MS CRM 2015 Online.
    Error says that 'No Plugin have been selected from list. Please select atleast one and try again'
    In short my assembly is not considered as custom workflow activity.
    I am giving my code let me know, If any thing is wrong.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Activities;
    using Microsoft.Xrm.Sdk;
    using Microsoft.Xrm.Sdk.Workflow;
    namespace Training.SamplePlugin
        public class SampleCustomworkflow : CodeActivity
            [Input("Birthday")]
            public InArgument<DateTime> BirthDate { get; set; }
            [Output("NextBirthday")]
            public OutArgument<DateTime> NextBirthDay { get; set; }
            protected override void Execute(CodeActivityContext executionContext)
                //Create the tracing service
                ITracingService tracingService = executionContext.GetExtension<ITracingService>();
                //Create the context
                IWorkflowContext context = executionContext.GetExtension<IWorkflowContext>();
                IOrganizationServiceFactory serviceFactory = executionContext.GetExtension<IOrganizationServiceFactory>();
                IOrganizationService service = serviceFactory.CreateOrganizationService(context.UserId);
                if (context.PrimaryEntityName.ToLowerInvariant() == "contact")
                    DateTime birthDate = BirthDate.Get<DateTime>(executionContext);
                    DateTime nextBirthDate = new DateTime(DateTime.Now.AddYears(1).Year, birthDate.Month, birthDate.Day);
                    //NextBirthDay.Set(executionContext, nextBirthDate);
                    Entity newContact = new Entity();
                    newContact.LogicalName = "contact";
                    newContact.Id = context.PrimaryEntityId;
                    newContact["new_nextbirthday"] = nextBirthDate;
                    service.Update(newContact);
    If code is correct then has somebody faced this kind of issue earlier, what is resolution.
    Thanks
    Apurv

    Have your signed your assembly ??
    Microsoft Dynamics CRM Training|Our Blog |
    Follow US |
    Our Facebook Page |
    Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

  • Workflow Portlet in other languages

    Has anyone managed to get the default Workflow Portlet working for languages such as Chinese.
    The current symptoms are:
    (1) When using default portlet and the Chinese character in the subject is unrecognizable.
    (2) When clicking the subject to show the detail of the workflow notification, it seems that the CHR(10) contained in the message has been removed

    New since CR 9 is unicode support: http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=http--supportbusinessobjectscom-communityCS-TechnicalPapersNoNav-cr9whatsnewpdfasp&sliceId=&dialogID=24286720&stateId=1 0 24288668
    "Unicode support means that the program code level in Crystal Reports is able to recognize language
    characters that are based on Unicode.
    Unicode is used to display double-byte characters such as the Chinese and Japanese character sets.
    This enables you to create Crystal Reports that can display right-to-left languages and multiple
    languages in a single report."
    So if your data is in unicode Crystal will be able to properly display the various languages.
    If you wanted one single report to be viewed in different languages, then static strings in the report would need to be converted into formula fields which changes the text into the appropriate language based on a language parameter.  Some strings could not be handled in this manner though such as custom prompting strings.

  • Deploying Custom Workflow to different target server

    Hi!
    We are trying to build a custom approval workflow and deploy it from my development machine which has SharePoint Foundation to a beta server which has SharePoint Enterprise.
    Does the deploy & development have to be done via Visual Studio on the server that will receive the deployment?
    The error message below sounds like it's pointing to that scenario.
    We are getting this error message on initial "Validate" of the SharePoint server when creating the project and when trying to apply a target list to the project:
    Cannot connect to SharePoint site:
    ...make sure the Site URL is valid, that the SharePoint site is running on the local computer, and that the current user has the necessary permission to access the site.
    I do see this thread which doesn't seem as though it's a supported approach:
    http://social.msdn.microsoft.com/Forums/en-US/489047d1-ac1a-4325-81ef-596ba6dd59d3/remotely-deploy-a-custom-workflow?forum=sharepointcustomizationlegacy
    Please advise if I should be doing development and deploy via Visual Studio on the target SharePoint server.
    We would like to be able to avoid this scenario, and do all development from our own machines and not need access to the target server.

    Hi,
    According to your post, my understanding is that you want to deploy a custom workflow remotely.
    If your workflow solution does not need to use the farm-level objects, we can use sandbox solution achieve it.
    We can create a sandbox solution workflow in Visual Studio 2012 use SharePoint 2010 template, and deploy remotely.
    http://blog.credera.com/custom-application-development/new-visual-studio-2012-features-for-sharepoint-developers/
    http://msdn.microsoft.com/en-us/library/gg615449(v=office.14).aspx
    If you workflow solution is a farm solution, we can use PowerShell Remoting
    to deploy it to the server.
    http://community.rightpoint.com/blogs/viewpoint/archive/2011/06/19/tfs-2010-amp-sharepoint-2010-automated-build-and-deploy-remotely.aspx 
    http://spsd.codeplex.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • BPEL Custom Workflow (DocumentReviewWorkflow) with Content Services

    Hi All,
    Anybody working on BPEL Custom Workflows got Success in using the DocumentReviewWorkflow with the Content Services Development Kit 10.1.2.3.0
    Please update..
    Many Thanks in advance..!!!
    Prasant

    The DocumentReviewWorkflow that ships with the Content Services web services places the documents in the comments field.
    There are examples in the sample code - DocumentReviewWorkflowAction.java file demonstrates how to get the URLs from Oracle Content Services
    // Initialize the various Web Service Manager classes.
    StringBuffer sb = new StringBuffer(100);
    String endpoint = session.getServiceEndPoint();
    setUpManagers(session);
    try
    // Obtain the new/updated document items.
    Item[] documents = WorkflowUtils.getTargetDocuments(session,
    m_WorkflowId);
    int len = (documents == null) ? 0 : documents.length;
    for (int i = 0; i < len; i++)
    AttributeRequest[] pathar = WsUtil.newAttributeRequestArray(
    Attributes.URL);
    Item tmp =
    (Item) m_CommonManager.getItem(documents.getId(), pathar);
    String filepath = (String) WsUtil.getAttributesMap(
    tmp)
    .get(Attributes.URL);
    // Convert the String list to a single string for convenience.
    sb.append(filepath);
    sb.append("\n");
    finally
    session.logout();
    You can then add the document links as attachments by creating a list of attachments and then inserting the URLs for the documents in the URI - I've done it using a combination of Java and BPEL. Here is an excerpt
    <bpelx:exec name="countAttachments" language="Java" version="1.4"><![CDATA[/*Write your java code below e.g.
                   System.out.println("Hello, World");
              // Note that the documents come back as a list of
              // documents with a line break between them
              String filename = (String) getVariableData("filename");      
              String[] docnames = filename.split("\n");
    setVariableData("numberofdocuments", new Integer(docnames.length));
    ]]>
    </bpelx:exec>
    <assign name="initCounter">
    <copy>
    <from expression="0"/>
    <to variable="counter"/>
    </copy>
    <copy>
    <from>
    <attachment xmlns="http://xmlns.oracle.com/pcbpel/taskservice/task">
    <name/>
    <URI/>
    <content/>
    </attachment>
    </from>
    <to variable="ParallelVar1" query="/task:task/task:attachment"/>
    </copy>
    </assign>
    <while name="While_1" condition="bpws:getVariableData('counter') &lt; (bpws:getVariableData('numberofdocuments') - 1)">
    <assign name="createAttachmentList">
    <bpelx:append>
    <bpelx:from>
    <attachment xmlns="http://xmlns.oracle.com/pcbpel/taskservice/task">
    <name/>
    <URI/>
    <content/>
    </attachment>
    </bpelx:from>
    <bpelx:to variable="ParallelVar1" query="/task:task"/>
    </bpelx:append>
    <copy>
    <from expression="bpws:getVariableData('counter') + 1"/>
    <to variable="counter"/>
    </copy>
    </assign>
    </while>
    <bpelx:exec name="AddAttachmentsToList" language="Java" version="1.4"><![CDATA[/*Write your java code below e.g.
                   System.out.println("Hello, World");
              String filename = (String) getVariableData("filename");
              checkpoint();
              String[] docnames = filename.split("\n");
    for (int i = 0; i < docnames.length; i++) {
    int strlen = docnames[i].length();
    int slash = docnames[i].lastIndexOf('/');
    String filenameonly = docnames[i].substring(slash + 1, strlen);
    int item = i + 1;
    String varname = "/task:task/task:attachment[" + item + "]/task:name";
    String varuri = "/task:task/task:attachment[" + item + "]/task:URI";
    setVariableData("ParallelVar1", varname, filenameonly);
    setVariableData("ParallelVar1", varuri, docnames[i]);
    ]]>
    </bpelx:exec>
    This uses the fact that the document URLs are returned as a \n delimited string.

Maybe you are looking for

  • Safari 5.0.6 plug-in html file corrupted (now Safari doesn't run)

    Not sure how well I can explain this, as I'm definitely a novice!  Basically, Safari won't run or access certain websites b/c I'm guessing the html file for installed plug-ins is corrupt (Safari won't open the file file:///Applications/Safari.app/Con

  • Weight is not copying from Quotation to Sales order

    Hi Guru, I have made quotation and given weight and volume, and i created S.O with refernce to Quoattion, now the weight and volume is missing in sales order, My cleint requirements is it should copy and it should be open feild so that they can chang

  • Using my drive on another mac while mine gets repaired

    Hi! Something is really wonky with my Macbook Pro's screen (about 1.5 inches on the right side of it the pixels are really distorted and jerking up and down), and I have a feeling it will need to be sent in for repairs when I take it to the apple sto

  • Column Header Text not displaying for multi-set column block

    Hello, I have assigned a key figure set to a column block in a report writer report in ECC 6 using table FAGLFLEXT with both additional text functionality use and without use of additional text. I can't get the column headings text for these key figu

  • Is there two layers of audio on imovie or idvd

    I just finished A 300 picture presentation on Vietnam for a friend using keynote(excellent program). Each picture has a different show time(10 - 20 seconds) because of amount of text on it and info in the picture. We want to include back ground music