Custom task process

Hallo Everyone,
I have a reusable workflow which is based on custom content type. In this workflow iam creating a custom Task process when a condition is satisified. This custom task process creates a new task list and create a task there but i have a custom Task list created
from visual studio and i want to create task in this task list. 
Anyone knows how to do this ?. 
Thank you.

Hi,
You need to change TemplateType and Type form “10000” to "107", then the custom task list will be appeared.
The result is as below:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ListInstance Title="List1"
OnQuickLaunch="TRUE"
TemplateType="107"
Url="Lists/List1"
Description="My List Instance">
</ListInstance>
</Elements>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List project item, an error will occur when the project is run. -->
<ListTemplate
Name="List1"
Type="107"
BaseType="0"
OnQuickLaunch="TRUE"
SecurityBits="11"
Sequence="360"
DisplayName="List1"
Description="My List Definition"
Image="/_layouts/images/ittask.png"/>
</Elements>
Best Regards,
Linda Li
Linda Li
TechNet Community Support

Similar Messages

  • Error when reassigning a custom task process

    Hello!
    I have an error when reassigning a custom task process.
    That is what I see at the workflow history: Task assigned to xxx was delegated by xxx. Coments: xxx
    However in the second line of the history an error is shown with the following information:
    Event type: error
    User ID: System account
    Description: An error has occurred in nameofthetask
    No new task is created for the user who the task was reassigned to.
    Any help would be appreciated

    Hi,
    From the error message, I
    guess that you come across an OOTB Approval
    Workflow.
    When you define your workflow, there is a section "Enable content Approval Workflow Activities", where you can check "Update the approval status after the workflow is completed (use
    this workflow to control content approval)". If you check this option, and you do not have content approval enabled on the library level, you get the system account error message. If you do not check it, everything works fine.
    Or you can go to the document library settings and go to Versioning Settings Page, set "Require content approval for submitted items to?" to yes and everything should be fine.
    Refer to  the following blogs about the similar issue:
    http://mossnwss.blogspot.com/2008/10/workflow-error-system-account-error-has.html
    https://sharepointtechs.wordpress.com/2011/11/18/workflow-error-an-error-has-occurred-in-approval/
    Besides, here is a similar post, you can use as a reference:
    https://social.msdn.microsoft.com/Forums/en-US/fff5ee1f-904b-4a95-989f-c5a079cdf666/workflow-error-system-account-an-error-has-occured-after-workflow-completed-moss-2007?forum=sharepointcustomizationlegacy
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Avoid Duplicate Tasks when Expanding Groups for Custom Task Process

    Is there a way to:
    Avoid Duplicate Tasks when Expanding Groups for Custom Task Process?
    I've got a people metadata column that I am planning on putting groups into.  I want the groups to expand and send a task for all users in the groups.  I also want to avoid creating multiple tasks if a user happens to be in two groups at the same
    time.
    I'm trying to work out a way to assign users a read task based on job training requirements.  Right now assigning groups and using a workflow task to confirm read is what I'm trying to accomplish.  I just end up getting two tasks for a user if
    their in multiple groups.
    David Jenkins

    Hi David,
    Please verify the followings:
    After Participants, select Parallel(all at a once)
    Expand Task Options, select ‘Assign a task to each member within groups’
    Open the action properties, make sure ExpandGroup is Yes
    Also in SharePoint Designer ,you can edit the property for the Start Approval Porcess to enable ExpandGroup:
    Reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/d14da1c4-bd5a-459b-8698-3a89bb01e6ad/expand-groupnot-creating-tasks-for-users-issue-in-sharepoint-2013-designer-workflow?forum=sharepointgeneral
    https://social.technet.microsoft.com/Forums/office/en-US/ac245d45-ff66-4341-815c-79213efc4394/sharepoint-2010-designer-workflows-and-sharepoint-user-groups?forum=sharepointcustomizationprevious
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Help Renaming Workflow Custom Task Forms

    I've got a custom workflow which has a few "Start Custom Task Process" actions. When I created them, the default names were Task (1), Task (2), etc. But I have renamed the Task within the Workflow. When I look at the Form's section of my Workflow in SharePoint
    Designer, the File Names for those forms are Task_x0028_1_x0029_.xsn, Task_x0028_2_x0029_.xsn, etc. I can open the Form's in InfoPath and do the editing I want to, but I cannot get them renamed on the SharePoint server.
    I've tried going to the Task Lists from within the Workflow via Customization>Open Task List, and then renaming them from there but that doesn't work. I've also tried renaming the actual file via Navigation>All Files>Workflows>Workflow Name but
    that just breaks the link to the form when the task is executed.
    Does anyone have any suggestions on how to rename these and have them show up with the proper name within the "Forms" section when working on the workflow?

    I've found that when creating a "Start Custom Task Process" action -- the task is given a name, which by default will be "Task n" ... Even after renaming it --
    prior to saving/publishing -- the name of the XSN file will be "Task_x0028_n_x0029_.xsn" and the name of the content type is still "Task _x0028_n_x0029_" -- which isn't ideal ....  in large organizations with multiple workflow taks, this can get
    really hairy, really quick. 
    While there are no errors or conflicts -- if these can't be renamed, they might as well be referenced by GUIDs and not have human-readable names!
    Fortunately, the tip from Dennis at the bottom of this post describes perfectly how to rename the file by the back end .... it likely isn't for the feint of heart, changing the XML file [doing so inproperly can break the workflow] -- but it does work. 
    In addition to that tip, I'd recommend revising the name of the content type from Site Content Types -- this can be done from the UI and there's no need to edit the wfconfig.xml with the changes.
    EDIT:
    One more thing, the  "Copy & Modify" function within SharePoint Designer which can be used to make copies of workflows -- when using this function, the custom task will be created as  "Task (n) copy" and will need to be renamed.

  • PCW call custom task after approval process

    Hi comunity,
    I need to know how could call a custom task from PCW. Because I need to update a Z log table after the users approval SC just when the document is set to approved. I've checked the WS40000015, but seem to me that this is not possible.
    I have no other option to use the BBP_DOC_CHECK_BADI to do so? Am i right?.
    Regards.

    Rick, thanks for your answer.
    I didn't explain myself right with Z table. This is a relationship that required my customer between different entities (SC guid and one external number ID from a Non SAP SRM system and other fields).
    I agree that maybe the business requirement could be revised. But the core question it's the same, is not posible call a custom task from the process level, because seems to be limited to decision tasks. I don't get why SAP does not create a condition step in WS40000015 which allow us to call custom background tasks.
    I will use the BADI, hoping to get the SC when it's already approved.
    Regards.

  • Custom task (uc_task_custom)? how is the best way to implement intention

    Hello all,
    i would like to tell you our intention. We want to calculate Capital Charge.  Thius means we want to read a couple of records from transactional cube (differing e.g. on item) then do a calculation, then write it back as one record (new item) into the transactional cube. The Custom method is not enough to ful fill the requirements because it can be used just for status monitor updating. Does anyone have a suggestion how to implemet this. Thanks in advance,
    Murat

    I did not use any BPS or IP planning functions; that might be an approach, but I've never worked with either application.  The calculation, in my case, was done in ABAP.
    I don't have access to a BCS system at the moment, but I believe there is documentation and an example of how to implment the UC_TASK_CUSTOM BAdI delivered with the system.  Check the BAdI in SE18 and see if there is an example class listed.  I seem to remember CL_IM_EX_UC_TASK_CUSTOM or something similar. 
    There is also the documentation in the BAdI which explains exactly which importing/exporting parameters exist.  IT_SEL will include things like group currency, period, year, FYV, cons group, company, etc.  ET_MESSAGE will determine the cons monitor status when you are finished.  You can show additional results on the screen (like a regular BCS task would produce), but you need to write your own ALV.  I don't believe it is possible for this list to be available with the "last log" functionality though (I could never find a way, at least).
    uc_task_custom method is only to change status monitor
    I would disagree.  The exporting parameters, as mentioned above, determine the monitor status.  But it's also an entry point for you to develop whatever you need to meet your requirements.  Need to have a document approval process for manual documents?  You can write a custom task for that.  Need to post equity pickups back to the GL?  You could write a custom task to call an RFC or BAPI in ECC and do that.  Need to export results from from the BCS virtual cube to a flat file, basic cube, or an end user's PC?  I'd write a custom task.  Custom Document?  Custom Task.
    The issue becomes that greater development effort is required to create a custom task, than to customize a reclassification or an open hub.  If the standard functionality does not meet your requirements though, you can either change the requirements or hire a developer to implement them.
    - Chris

  • Add customized task to user screen for IdM 7.0

    The user screen in IdM 7.0 is a lot more different from the previous versions.
    A navigation bar is used for launching different tasks(workflows).
    I want to add a new user request task to MenuBar Requests or add a new task to the Launch Requests page. The old document/training mentioned adding customized task to End User Tasks is not working for Version 7.0 at all.
    Overall, my question is how I can add my customized workflow to /user screen?
    Thank you.

    Hi,
    Look to implement links to custom taskdefinitions from the End User Request Menu. Unfortunately there's no form/process mapping for this object at this time. Here's an example of a customisation on the End User Request Menu,
    <Form noDefaultButtons='true' objectLocationID='objectName=End+User+Request+Menu&isBegin=true&objectPath=0&objectType=UserForm'>
          <Display class='EditForm'>
            <Property name='title' value='UI_ENDUSER_REQUEST_LAUNCH_TITLE'/>
         <Property name='subTitle' value='UI_ENDUSER_REQUEST_LAUNCH_SUBTITLE'/>
          </Display>
          <Properties>
            <Property name='doNotRegenerateEndUserMenu'>
              <Boolean>false</Boolean>
            </Property>
          </Properties>
          <Field>
         <Display class='SectionHead'>
           <Property name='required'>
             <Boolean>false</Boolean>
           </Property>
           <Property name='title' value='Self-Service Options'/>
         </Display>
         <Field>
           <Display class='LinkForm'/>
           <Field>
             <Display class='Link'>
               <Property name='name' value='Request Application Access'/>
               <Property name='URL' value='user/processLaunch.jsp?id=Request+Application+Access'/>
               <Property name='arguments'>
              <map>
                <s>op_requestorOrg</s>
                <ref>waveset.organization</ref>
                <s>op_requestorFullname</s>
                <ref>accounts[Lighthouse].fullname</ref>
              </map>
               </Property>
             </Display>
           </Field>You also need to register the workflow in the End User Tasks configuration objects as follows:
    <Configuration id='#ID#Configuration:EndUserTasks' name='End User Tasks'>
      <Extension>
        <List>
          <List>
            <String>Request Application Access</String>
            <String>Initiates a request for a new account</String>
          </List>HTH,
    Paul

  • Start a Task Process Action in SPD 2013 does not expand SharePoint Groups

    I created a site workflow in SPD 2013, and added a "start a task process".  I specified that the participants would be a group, the tasks would be created in parallel and "Assign a task to each member with groups" is checked. 
    I did check after the fact that "ExpandGroup" is "Yes" in the properties.
    However, when executed, the group gets assigned a task, not individual users within the group.
    I have seen other postings where others have the same issue, but no resolutions besides MS is investigating.  Is this some issue with my setup?  I have tried this in multiple environments with the same results.

    Hi  wangsy101,
    According  to your description, you create a workflow with “Start a task process” in SharePoint 2013 Designer, and the participants was a group, and you had make sure that the “ExpandGroup” was “Yes”. However, when executed, the workflow didn’t assign
    the task to individual users within the group.
    I reproduced the process, and in my testing , everything worked well.
    When you start the workflow and view the workflow, you will see the Assigned to field is the group. And when you open the related tasks, you will note that there are some new tasks related to individual users within the group. It  means that the “ExpandGroup”
    works correctly.
    If the issue still exists, please create an approval workflow  with SharePoint 2010 Designer platform, and set the same configuration to test.
    I hope this helps.
    Thanks,
    Wendy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Custom Change Process

    we plan to realize a custom Change process (pharmaceutical area).
    The requirement is to have a "workflow", where planing, realization, etc is done in phases, signed by qa and cant be changed easily later on.
    f.i.
    the requestor creates a request insert some data and "signs" it, then it will be planned, activities are created....
    now the whole Thing should be "signed" by qa and the data entered earlier are not allowed to Change after that...
    next Phase is realisation, over here the Prior created Tasks are completed....
    Has anyone done something like that?
    p.s. if yes and willing to Train please pm me
    best regards
    Chris

    well, it sounds like you've got a fairly standard change process, except for a sepcial notification rule. that should be relatively easy to do. no C# required, but you will need to finagle the XML a bit. 
    personally, what i would do is create notification rules that look for changes that you outlaw, and notifies the QA team. you'll probably want to do this by creating the notificaation rule using the UI, exporting the management pack and editing the XML for
    the Criteria so it looks like what you want it to. 
    you'll still want to use the Signature state property from above. here's an example enum, from earliest to latest:
    Unsigned
    Requirements Signed
    Risk Vaidation Signed
    Implementation Plan signed
    Implemented
    you're criteria is probably going to start something like this: 
    Change is in signature state "Requirements Signed"
    Property "Reason" changed
    Property "Description" changed
    Property "title" changed
    etc...
    the first one should be easy, just set that as the post condition on the notification. the rest are where you need to XML a bit. create a dummy criteria for each of those in either the Pre or Post tab of the notification UI. it doesn't really matter what
    you look at here, since we're going to overwrite it. Save the notification rule, and export the MP. 
    open the exported MP XML with your favorite text editor <cough>Notepad2</cough> and find the Criteria segment of your notification rule. you're going to use
    this Trick to set the criteria to compare the Pre value of the property to the Post value of the property, and activate if they are NotEqual. 

  • Error custom task operation

    Hi
    Sometimes i get an error in the bpel server control when i am performing a custom task operation ' wlSvc.customTaskOperation(ctx, pTask.getTaskId(), actionDONE);'
    the error is: <2005-12-05 17:22:45,421> <ERROR> <default.collaxa.cube.engine.delivery> <DeliveryService::handleCallback> Activity for conversat
    ion MD5{2fde76181d5fe21d621a43444cc2e4d3} has been closed ... marking message d91cbb6d4f175ff0:6fa9fc:107fcbcea7e:-7f50 as cancelled.
    But i can't understand what is happeening because it doesn't happens all the time
    Here is my source code
    public void completeTask(IWorklistTask pTask,String asignee,String password,String action)throws Exception{
    WorklistService wlSvc =WorklistService.getWorklistService();
    IWorklistContext ctx = wlSvc.authenticateUser(user, asigneePassword);
    wlSvc.updateTask(ctx,pTask);
    String actionDONE = action;
    wlSvc.customTaskOperation(ctx, pTask.getTaskId(), actionDONE);
    thanks Nicolas Fonnegra M

    Solved !!!!!!!!!!!!!!!!
    The TaskActionHandler was cancelling the message delivered by the 'customTaskOperation'. Normally, for the source code I posted before, the TaskActionHandler receives two messages, one from the updateTask and another from the 'customTaskOperation'. It seems that sometimes the 'customTaskOperation' messages arrive while the TaskActionHandler is still processing the updateTask messages, so the TaskActionHandler simply cancells the newly arrived ones. That is why in the worklist application you have two different actions , one for updating the info and one for completing the task, so the system avoid 'customTaskOperation' messages that arrive 'too early'.
    I simply put a delay between the two operations and it worked fine.
    wlSvc.updateTask(ctx,pTask);
    String actionDONE = action;
    Thread.sleep(3000); // I haven't tried with less time,but with 3 seconds works great
    wlSvc.customTaskOperation(ctx, pTask.getTaskId(), actionDONE);
    thanks Nicolas Fonnegra M.

  • How to create a custom task in SRM for the standard task

    Hi Gurus,
    How to create a custom task in SRM for the standard task  eg: TS10407929
    regards,
    George.

    from PFTC itself. Same.

  • Create task from conversation thread in news feed - Task must be created in custom task list

    Hi All,<o:p></o:p>
    Have a new requirement
    were user should be able to create a task for himself from a conversational
    thread in News feed.<o:p></o:p>
    In
    SharePoint 2013 we have a functionality where we can follow up on a
    conversation and it creates a task in My Tasks which is in My site.<o:p></o:p>
    But my requirement
    is to create a task in Tasks list in same site collection on click of follow
    up.<o:p></o:p>
    I have
    tried one approach as below :<o:p></o:p>
    My Tasks in
    My site is an aggregated view of all tasks assigned to the logged in user. When
    i follow a task in News feed a personal task is created in My task
    (WmaAggregatorList_User internal name) list. When i Edit the personal task and
    change the Projects
    drop down to the required Project Name and Check -"Make this task public to project
    members" it just creates a task is specific Site and moves
    the task.<o:p></o:p>
    I tried to
    find if Projects and Check box are columns of Task list , but did not find any
    columns.<o:p></o:p>
    I am trying
    to create a event receiver which would make these columns be set to Site Name
    and check box checked so that when user creates a task it will directly move to
    Custom Task list.<o:p></o:p>
    Please
    guide <o:p></o:p>
    Thanks in
    Advance<o:p></o:p>
    Pallavi

    Thank you for your responce. I used a content query wp to rollup only the Major Milestones, but am unable to overlay the results to a calendar.. The link you provided is for overlaying different task lists onto a calendar, but does not detail how to
    overlay the results from the content query onto a calendar.

  • Custom Data Processing Extension and Parameters

    Hello,
    I have successfully implemented a custom data processing extension. Now I'm trying to add parameters, but the documentation is very weak on this topic. Also all examples of custam data processing extensions I have found so far are working without parameter support. Using a search engine I have found a custom data processing extension's sequence diagram during report execution. The related article also gives some hints about the IDbCommandAnalysis interface.
    The GetParameters implementation creates a parameter collection based on the current command text and returns this collection. So far no problem.
    My question is how to implement the IDbCommand's CreateParameter method and Parameters property? In CreateParameter I just return a new instance of my IDataParameter implementation, and the Parameters property returns a new parameter collection based on the current command text.
    Is this ok so? At least this is the first implementation which seems to work in the data designer. If I share an instance variable for GetParameters and Parameters I will either get all parameters twice or BIDS will crash when pressing the execute button in the dataset designer - depending on my actual implementation.
    What I'm still missing is how to get the parameters added automaticall to the dataset's properties parameter register?
    thanx in advance and kind regards, Gerald

    I think that finally (after some days of trying) I could make it work. The dataset and report parameters are reflecting the command text's parameters now (BTW: to answer my last question - the dataset's properties are updated after pressing the refresh button only). The road to success was not to use the same member variable for the collections returned by IDbCommandAnalysis:GetParameters() and IDbCommand:Parameter and not to fill the latter one with the command text's parameters (see partial source code below).
    public sealed class MyCommand : IDbCommand, IDbCommandAnalysis  
        private string m_commandText;  
        private MyParameterCollection m_parameters = new MyParameterCollection();  
        public string CommandText  
            get { return this.m_commandText; }  
            set { SetCommandText(value); }  
        public IDataParameterCollection Parameters  
            get { return m_parameters; }  
        public IDataParameter CreateParameter()  
            return new MyParameter();  
        public IDataParameterCollection GetParameters()  
            return GetParameterCollection();  
        private void SetCommandText(string commandText)  
            m_commandText = commandText;  
        private MyParameterCollection GetParameterCollection()  
            // ... create parameter collection based on m_commandText  
    Still there are some open questions:
    How can I update the report parameter's properties? Now the parameter's data type is always string, but I'd like to assign the right data type. I'd also like to tag the parameters as hidden and supply a non-queried default value. Is this possible? How?
    Although I my implementation of IDbCommandAnalysis:GetParameters() returns a collection containing the parameter names and values the "prompt query parameters" dialog (after pressing the query designer's execute button in the toolbar) shows a "<blank>" value for the parameters. What could be the problem?
    Thanx in advance and regards,
    Gerald

  • How to use a pwa group in CREATE A TASK PROCESS in SPD 2013 for project server workflow approval process

    I am working on a Project Server 2013 workflow. I am creating this using Sharepoint Designer 2013. In this workflow I am using approval process at one stage. I have created a security group SalesManagers in PWA. I want to use this group for workflow approval
    process. I want all users of this group get approval tasks. 
    For this I used START A TASK PROCESS activity in the SP Designer. I clicked on
    this user and created task process. But here I could not find SalesManager group which I created in PWA. I was only able to find the users. I can also see
    Administrators for PWA . But couldnot find SalesManager or any other security group created in pwa.
    Can anyone suggest how I can get the security group created in pwa.

    NBDevelopment,
    I believe SPD only recognizes the SharePoint Groups and not the project server security groups.
    The Administrators for PWA, and few other groups like Project Managers for PWA etc., are synced SharePoint Groups with the security groups, which is why they show up in SPD.
    You could create a SharePoint Group for the Sales Managers group and use that in SPD.
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • My Tasks View in my custom task list fails to display the tasks assigned to me (that is the currently logged in user)

    Hi
    I am new to sharepoint 2010.
    I created a custom task list, where I  have many tasks assigned to users (I had tasks assigned to me as well). I created a view as "My tasks "and having a filter as Assigned To is equal to [Me]. When I do that my view fails to show the
    tasks assigned to me. This happens same with the Sharepoints 'My Tasks' view as well. I tested by creating some test tasks under my name and when I selected 'My Tasks' view no tasks are getting displayed.
    Please help.
    Thanks,
    Gokulkumar.

    Hi,
    According to your post, my understanding is that you wanted to display the tasks assigned the current logged in user.
    In my environment, if I used the System Account, My Task view didn’t display any tasks.
    However , if I used other users except the System Account, My Task view could display current user tasks correctly.
    I recommend to use other accounts except System Account to log in site. Then everything will work well.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Use and purpose of the 'noalign' kernel parameter

    Does anyone know what this does? It apparently exists, but as far as I can tell from Googling, its function is not documented.

  • Af:forEach - and ValueChangeListener -11g

    Okay, change my code to use af:forEach instead of af:iterator. My jsff <af:forEach items='#{pageFlowScope.managedBean.flexFieldsListGlobalDataElements}' var="list" varStatus="vs"> <af:switcher facetName="#{list.attributeType}" id="s5"> <f:facet name=

  • 3:2 - 4:3

    I know this is really basic. But it's about time I understood. So far for years I've been winging it. Now I'm interested in getting the best clear graphics from Motion to FCP. If I'm shooting regular mini DV tapes with an anamorphic adapter, so it's

  • How to properly migrate repository/mappings from Windows to Unix

    Hello OWB Gurus! I'm trying to move from a Windows based repository10g to a Unix 10g repository. Are there any particular guidelines to follow? Your response would be appreciated. Thanks!

  • I somehow got rid of my search engine?

    I was on on my laptop and I moved my mouse and it did something to remove my search engine! I didn't see what happened and all I saw was that it made some weird noise and it "popped" and disappeared! My search engine is now gone and I can't look up a