Add default responsibilities upon new employee creation

Hi,
We have a requirement to do the following activities when a new employee/CWK is created in HRMS.
-Link the Application User (Application users are maintained through OAD by the time employee creation happens & we need to just link person to user)
-Add default self service reponsibilities to the users. Need to add the applicable one based on employee working location(country).
like..
Employee Self Service (India)
Employee Self Service (UK)
I am aware of the way to achieve this by writing custom code. Just wanted to know any part of the functionality is available in this line.
thanks,
Rajkiran.

I don't think there is any way to achieve this without custom code.
Sandeep Gandhi

Similar Messages

  • HR Workflow on New Employee Creation

    hi Experts,
                     I need to triger work flow whenever an employee is hired or rehired for this work flow what is the business object,Info Type and Event.
    To be more specific when ever a new emp is crearted  a mail notification should be sen't to him at the end of the month with few details.

    You will probably need to make an entry in SWEHR3. You can take a look at SWEHR2 for inspiration. Hiring and rehiring is done in SAP by means of a procedure. So look for the infotype procedure.
    By the way, it is always helpful to ask a functional consultant for the specifics. he could tell you the way a hiring is done and which infotype is used.
    Regards,
    Martin

  • How to add default associated groups when creating new site

    Hi All,
    I am trying to create a new subsite in sharepoint 2013 using CSOM (code is mentioned below). But no default groups (MEMBER, VISITOR, OWNER) are getting created in that site. When we try through UI we will got through a page "Set Up Groups
    for this Site" where we can specify these details.. Is it possible to do the same (creating default groups together with the site creation) through CSOM or powershell.
    CSOM code:
    WebCreationInformation creation = new WebCreationInformation();
                creation.Url = "NewSubSite6";
                creation.Title = "NewSubSite6";
                creation.UseSamePermissionsAsParentSite = false;
                Web newWeb = clientContext.Web.Webs.Add(creation);
                //clientContext.Load(newWeb);
                clientContext.ExecuteQuery();
    Regards,
    Shahabas

    Shahbas, here is the code:
    private static void SetSecurityOnSubSite(ClientContext clientContext, ListItem item, bool confidential, Web newWeb)
                try
                    if (confidential)
                        newWeb.BreakRoleInheritance(false, false);
                        clientContext.ExecuteQuery();
                        Group ownerGroup = default(Group); Group memberGroup = default(Group); Group visitorGroup = default(Group);
                        // web has unique permissions, so create default assosiated groups (owners, members, visitors)
                        if (!newWeb.GroupExists(newWeb.Title + " Owners"))
                            ownerGroup = newWeb.AddGroup(newWeb.Title + " Owners", "", true);
                            clientContext.Load(ownerGroup);
                        if (!newWeb.GroupExists(newWeb.Title + " Members"))
                            memberGroup = newWeb.AddGroup(newWeb.Title + " Members", "", false);
                            clientContext.Load(memberGroup);
                        if (!newWeb.GroupExists(newWeb.Title + " Visitors"))
                            visitorGroup = newWeb.AddGroup(newWeb.Title + " Visitors", "", false);
                            clientContext.Load(visitorGroup);
                        // executequery in order to load the groups if not null
                        clientContext.ExecuteQuery();
                        newWeb.AssociateDefaultGroups(ownerGroup, memberGroup, visitorGroup);
                        newWeb.AddPermissionLevelToGroup(newWeb.Title + " Owners", RoleType.Administrator);
                        newWeb.AddPermissionLevelToGroup(newWeb.Title + " Members", RoleType.Contributor);
                        newWeb.AddPermissionLevelToGroup(newWeb.Title + " Visitors", RoleType.Reader);
                        FieldUserValue userValueCreatedBy = item[Constants.Projects.CreatedBy] as FieldUserValue;
                        User createdByUser = clientContext.Web.EnsureUser(userValueCreatedBy.LookupValue);
                        clientContext.Load(createdByUser);
                        clientContext.ExecuteQuery();
                        UserCreationInformation createdByUserCI = new UserCreationInformation();
                        createdByUserCI.LoginName = createdByUser.LoginName;
                        ownerGroup.Users.Add(createdByUserCI);
                        clientContext.ExecuteQuery();
                        foreach (FieldUserValue userValue in item[Constants.Projects.ProjectTeam] as FieldUserValue[])
                            User user = clientContext.Web.EnsureUser(userValue.LookupValue);
                            clientContext.Load(user);
                            clientContext.ExecuteQuery();
                            UserCreationInformation userCI = new UserCreationInformation();
                            userCI.LoginName = user.LoginName;
                            memberGroup.Users.Add(userCI);
                        clientContext.ExecuteQuery();
                catch (Exception)
                    throw;
    Reference link: 
    http://sharepoint.stackexchange.com/questions/116682/how-to-create-a-group-in-a-subweb-using-csom
    Thanks, Pratik Shah

  • Add a new employee - Connection is busy with results for another command

    Hi all,
    I try to add a new employee in my SAP Business One system, but I get an error message like that : [Microsoft][SQL Native Client] Connection is busy with results for another command * (HEM5) (HEM5)
    So I try to see if I get the same message when I update an employee, and I don't get this message.
    Do you have an idea, why I get this error message when I add a new employee ?
    Message was edited by:
            Marc Riar

    Hello,
    I am afraid there maybe two users / workstations using the same user code and one of them is creating (add) and other is update. Try to ask the users/wrokstations.
    Another way out is try to run this query :
    select * from HEM5
    Rgds,
    JM
    http://groups.yahoo.com/group/SBO_Knowledge_Village
    [email protected]

  • I downloaded iMesh and I can't stop it from automatically popping up each time I request a new tab. I have uninstalled the program, but I want to stop it from defaulting as a new tab. I tried uninstalling, but it is no longer installed as an add-on

    I downloaded iMesh and I can't stop it from automatically popping up each time I request a new tab. I have uninstalled the program, but I want to stop it from defaulting as a new tab. I tried uninstalling the add on and plug in, but it is no longer installed as an add-on or plug in. How do I get the "new tab" request to simply open with a blank address in the address box instead of www.imesh.com.

    Ok, I finally managed to get rid of it.
    First I did the thing with the about:config but I flitered for imesh instead and managed to reset two thing but when I got to the keyword.URL I got the same thing as lolbabe98 did with the "An attempt to change your search engine or homepage was blocked."
    Then I did a search on my C: drive for iMesh and discovered some things that hadn't been removed even though I had unistalled both the toolbar and the actual program. After that it worked fine and I now have a regular "untitled" tab when I open a new tab.
    One last thing, when I tried to remove some of the files there was one that said it was in use, it was called datamanagerUI or something rather. The only thing I had to do there was to open Task Manager and kill a process called DATAMN~1 and I was able to remove it. Hope this helps.

  • ALV Grid default values for new rows added with Add/Insert buttons

    Hi!
    Help, please,  to find a way how to set default values for new rows added with Add/Insert buttons in
    ALV Grid.

    I have found salution:
    ALV Grid u2013 Insert row function
    Sometimes we need to assign some default values when we create a new row in a grid using standard ALV Append row button. In our scenario we will see how to assign default values to Airline Code (CARRID), Flight Connection Number (CONNID) and Flight date (FLDATE) when a new row is created. To do that we need to handle DATA_CHANGED event in the program like mentioned below.
    Definition of a class:
    Code:
          CLASS lcl_event_receiver DEFINITION
    CLASS LCL_EVENT_RECEIVER DEFINITION.
      PUBLIC SECTION.
    METHODS:
         handle_data_changed
         FOR EVENT data_changed OF cl_gui_alv_grid
         IMPORTING er_data_changed
                           e_ucomm.
    ENDCLASS.                    "lcl_event_receiver DEFINITION
    Implementation of a class:
    Code:
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
      METHOD HANDLE_DATA_CHANGED.
        DATA: dl_ins_row TYPE lvc_s_moce.   " Insert Row
          FIELD-SYMBOLS: <fs> TYPE table.    " Output table
    Loop at the inserted rows table and assign default values
        LOOP AT er_data_changed->mt_inserted_rows INTO dl_ins_row.
          ASSIGN er_data_changed->mp_mod_rows->* TO <fs>.
          loop at <fs> into ls_outtab.
            ls_outtab-carrid  = 'LH'.
            ls_outtab-connid  = '400'.
            ls_outtab-fldate  = sy-datum.
            MODIFY <fs> FROM ls_outtab INDEX sy-tabix.
          endloop.
        endloop.
      ENDMETHOD.                    "handle_data_changed
    ENDCLASS.                    "lcl_event_receiver IMPLEMENTATION
    Register the events to trigger DATA_CHANGED event when a new row is created.
    Code:
        CALL METHOD OBJ_GRID->REGISTER_EDIT_EVENT
          EXPORTING
            I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_ENTER.
        CALL METHOD OBJ_GRID->REGISTER_EDIT_EVENT
          EXPORTING
            I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED.

  • Default Probation Period on New Employee only

    Hi,
    In the HR Self-Service's Change in Position Page, the probation period is defaulted when the job position has been changed. I only want to have it defaulted when it's a new employee. How can I do this??
    Oracle Version I'm using is 11i
    Thanks for your help,
    N

    Hi,
    Thanks everyone for their input. I am now extending the CO for this as suggested by Ajay.
    I have found that in AssignmentCO, there's a function called setPositionDefaultValues function that defaults the probation period etc. However, when I extended this controller, it's still defaulting the probation period fields. Can somebody check what's wrong with my controller? I have a feeling that my super.processRequest is messing up my new setPositionDefaultValues function that has the probation period part commented.
    package tap.oracle.apps.per.selfservice.deployperson.webui;
    import com.sun.java.util.collections.ArrayList;
    import com.sun.java.util.collections.List;
    import java.io.Serializable;
    import java.util.Hashtable;
    import java.util.StringTokenizer;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAAttrValException;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.apps.fnd.framework.webui.OANavigation;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.form.OAFormValueBean;
    import oracle.apps.fnd.framework.webui.beans.layout.OADefaultTableLayoutBean;
    import oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean;
    import oracle.apps.per.common.CommonUtils;
    import oracle.apps.per.selfservice.common.Constants;
    import oracle.apps.per.selfservice.common.SSHRParamTable;
    import oracle.apps.per.selfservice.common.SSHRParams;
    import oracle.apps.per.selfservice.common.webui.NewUserProcessTransaction;
    import oracle.apps.per.selfservice.deployperson.server.DefaultWorkHoursVOImpl;
    import oracle.apps.per.selfservice.deployperson.server.DefaultWorkHoursVORowImpl;
    import oracle.apps.per.selfservice.deployperson.server.PositionDefaultValuesVOImpl;
    import oracle.apps.per.selfservice.deployperson.server.PositionDefaultValuesVORowImpl;
    import oracle.apps.per.selfservice.workflowservice.server.WFUtility;
    import oracle.cabo.ui.UIConstants;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.AttributeList;
    import oracle.jbo.ComponentObject;
    import oracle.jbo.Row;
    import oracle.jbo.RowIterator;
    import oracle.jbo.Transaction;
    import oracle.jbo.common.MetaObjectBase;
    import oracle.jbo.domain.Date;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.ViewObjectImpl;
    import oracle.apps.per.selfservice.deployperson.webui.AssignmentCO;
    public class xxcperAssignmentCO extends AssignmentCO
    public static final String RCS_ID = "$Header: AssignmentCO.java 115.111 2006/10/27 13:06:45 gpurohit noship $";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header: xxcperAssignmentCO.java 115.111 2006/10/27 13:06:45 gpurohit noship $", "tap.oracle.apps.per.selfservice.deployperson.webui");
    static Class class$java$lang$Object; /* synthetic field */
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    void setPositionDefaultValues(Row row, PositionDefaultValuesVORowImpl positiondefaultvaluesvorowimpl, OAPageContext oapagecontext, OAWebBean oawebbean, String as[])
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    OADBTransaction oadbtransaction = oaapplicationmodule.getOADBTransaction();
    SSHRParams sshrparams = new SSHRParams(oadbtransaction);
    String s = sshrparams.getSelectedPersonType();
    Object obj = null;
    as[0] = "NO";
    if(positiondefaultvaluesvorowimpl.getOrganizationId() != null)
    row.setAttribute("OrganizationId", positiondefaultvaluesvorowimpl.getOrganizationId());
    row.setAttribute("OrganizationName", positiondefaultvaluesvorowimpl.getOrganizationName());
    if(positiondefaultvaluesvorowimpl.getLocationId() == null)
    Serializable aserializable[] = {
    String.valueOf(positiondefaultvaluesvorowimpl.getOrganizationId()), null, sshrparams.getEffectiveDate()
    OAViewObject oaviewobject = (OAViewObject)oapagecontext.getApplicationModule(oawebbean).findViewObject("DefaultLocationVO");
    oaviewobject.invokeMethod("initQuery", aserializable);
    if(oaviewobject.hasNext())
    Row row1 = oaviewobject.first();
    String s2 = row1.getAttribute("LocationId").toString();
    String s3 = (String)row.getAttribute("LocationId");
    if(!s2.equals(s3))
    String s4 = (String)row1.getAttribute("LocationCode");
    row.setAttribute("LocationCode", s4);
    row.setAttribute("LocationId", s2);
    as[0] = "YES";
    if(positiondefaultvaluesvorowimpl.getJobId() != null)
    row.setAttribute("JobId", positiondefaultvaluesvorowimpl.getJobId());
    row.setAttribute("JobName", positiondefaultvaluesvorowimpl.getJobName());
    if(positiondefaultvaluesvorowimpl.getGradeId() != null)
    row.setAttribute("GradeId", positiondefaultvaluesvorowimpl.getGradeId());
    row.setAttribute("GradeName", positiondefaultvaluesvorowimpl.getGradeName());
    if(positiondefaultvaluesvorowimpl.getLocationId() != null)
    row.setAttribute("LocationId", positiondefaultvaluesvorowimpl.getLocationId());
    Serializable aserializable1[] = {
    String.valueOf(positiondefaultvaluesvorowimpl.getLocationId()), sshrparams.getEffectiveDate(), null
    OAViewObject oaviewobject1 = (OAViewObject)oaapplicationmodule.findViewObject("LocationVO");
    String s1 = (String)oaviewobject1.invokeMethod("getLocationCode", aserializable1);
    row.setAttribute("LocationCode", s1);
    if(positiondefaultvaluesvorowimpl.getWorkingHours() != null)
    row.setAttribute("NormalHours", positiondefaultvaluesvorowimpl.getWorkingHours());
    row.setAttribute("Frequency", positiondefaultvaluesvorowimpl.getFrequency());
    if(positiondefaultvaluesvorowimpl.getTimeNormalFinish() != null)
    row.setAttribute("TimeNormalFinish", positiondefaultvaluesvorowimpl.getTimeNormalFinish());
    if(positiondefaultvaluesvorowimpl.getTimeNormalStart() != null)
    row.setAttribute("TimeNormalStart", positiondefaultvaluesvorowimpl.getTimeNormalStart());
    if(positiondefaultvaluesvorowimpl.getSupervisorId() != null)
    row.setAttribute("SupervisorId", positiondefaultvaluesvorowimpl.getSupervisorId());
    if(positiondefaultvaluesvorowimpl.getPayBasisId() != null && !"C".equals(s))
    row.setAttribute("PayBasisId", positiondefaultvaluesvorowimpl.getPayBasisId());
    if(positiondefaultvaluesvorowimpl.getPayrollId() != null && !"C".equals(s))
    row.setAttribute("PayrollId", positiondefaultvaluesvorowimpl.getPayrollId());
    row.setAttribute("PayrollName", positiondefaultvaluesvorowimpl.getPayrollName());
    //SR119779 27-JUL-2010 Nette
    /*if(positiondefaultvaluesvorowimpl.getProbationPeriod() != null && positiondefaultvaluesvorowimpl.getProbationUnit() != null)
    row.setAttribute("ProbationPeriod", positiondefaultvaluesvorowimpl.getProbationPeriod());
    row.setAttribute("ProbationUnit", positiondefaultvaluesvorowimpl.getProbationUnit());
    Date date = new Date(sshrparams.getEffectiveDate());
    date = calculateProbationEndDate(date, positiondefaultvaluesvorowimpl.getProbationPeriod().intValue(), positiondefaultvaluesvorowimpl.getProbationUnit());
    row.setAttribute("DateProbationEnd", date);
    if(positiondefaultvaluesvorowimpl.getBargainingUnitCd() != null)
    row.setAttribute("BargainingUnitCode", positiondefaultvaluesvorowimpl.getBargainingUnitCd());
    row.setAttribute("BargainingUnitName", positiondefaultvaluesvorowimpl.getBargainingUnitName());
    }

  • Can I add a new Employee Type through DIAPI 2005?

    Hi as part of my addon setup I would like to automatically add a new Employee type to the OHTY table. 
    Is there an object in the DI that I and can use to do this? I have had a look but can't find anything, but wondered if there is a generic object that is used update simple tables such as this one?
    Thanks,
    Daniel

    Hi,
    And Have you find one answer for this problem ? because I have also this problem and I ask myself for others table.
    Thanks
    Stéphane

  • Automatic creation of work center per new employee

    Dear gurus,
    Is it possible to instantly create Work Centers every time an employee is hired and created via HR module? We consider an employee as "created" when infotypes 0000-0002 are accomplished.
    Work centers in PS are manually done in CNR1.
    The reason for this integration is that the Work Center needs data from HR's personnel master data such as: name and cost center. And it will be tedious to manually create work centers every time a new employee is hired.
    We are thinking this will be done via an ABAP batch input program which just automates the two transactions (PA40 and CNR1). However is there a simpler way to do this? For example, a SAP standard method that we're not seeing?
    Thank you!
    Regards,
    Mozart

    HI,
    I think it can be handled in the following manner
    Use Dynamic Action to call a Cutsom Routine which will inturn do all the actions required. Take Abaper help ..

  • Creation of new employee groups and sub groups

    Hi All,
    What all the steps should I follow to create new employee groups and sub groups? and  How many structures should I create for this?
    Its urgent pls.......
    Good replies will be rewarded!!!!
    Regards,
    Sita

    Hi
    You can create the employee groups depending up on your clients requirement, Eg: Permanent, Temporary, Seasonal, Trainee, Advisor etc
    And define the employee subgroups and assign them to the employee groups Like
    Enterprise structure>Definition>Human Resource Management-->Employee Groups & Employee Groups
    Enterprise structure>Assignment>Human Resource Management-->Assign employee subgroup to employee group
    you can create employee subgroups depending up on your requirement like asst manager, manager, GM, MD, VP ETC an assign them to the employee subgroups ok.
    Ensure that certain empployee subgroups may not be assigned to employee group based on requiremen, but create all the employee sub groups which is existing in the organization.
    Regards

  • Reg: Posting of payroll for new employee joined

    Dear Expert,
    We have hired a new employee, maintained all infotypes including 0009 also. We are facing problem once the payroll have run. his RT table have got updated, cluster result have been updated. but when we go for posting purpose, that employee doesn't gets selected for posting run also. the system is not at all selecting the employee for any document creation.
    with regards
    sumoy maity

    HI,
    Tcode - PC00_M99_CIPE
    Enter Employee Code
    Select the tick - display Log
    Do live run
    This will show you the run number if the employee data has already been selected for actual run.
    You can use this Run number for further processing.
    Hope this helps.
    Param.

  • New employee organization hierarchy version in HRMS doubles dashboard totals in OBIEE

    Hi,
    On creation of a new version of the Employee Organization hierarchy, some of the OBIEE dashboards & analyses that were oracle seeded function show ...
    Total Employee headcount  =   total employee headcount from hierarchy ver 1 + total emp headcount hierarchy ver 2
    Which is incorrect and misleading in the reports. (Similar issues for FTE..... )
    Firstly, is this normal ----- or has the versioning been implemented incorrectly, or is there missing aggregation at the Ebusiness, BI rpd or dashboard level?
    Secondly, what is the best solution to display the relevant hierarchy based on the report dates?
    If there is further aggregation needed, how can this be added without needing to update it every time a new employee organization hierarchy version is copied?
    Thanks,

    Hi,
    You need to create the drill down report also using selection steps. I tried the drill down was working fine.
    Thanks

  • Hiring new employee with HR_MAINTAIN_MASTERDATA

    Hi,
    I am trying to hire new employee with HR_MAINTAIN_MASTERDATA. For now, I only gives the mandatory values of the infotype 0002 in proposed_values and parameters to the FM.
    CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
         EXPORTING
           pernr                    = no_emp_int
           massn                    = '01'
           actio                    = 'INS'
           tclas                    = 'A'
           begda                    = sy-datum
           endda                    = '99991231'
    *       OBJPS                    =
    *       SEQNR                    =
    *       SPRPS                    =
    *       SUBTY                    =
           werks                    = '1000'
           persg                    = '1'
           persk                    = 'D9'
    *       PLANS                    =
           dialog_mode              = '1'
    *       LUW_MODE                 = '1'
           no_existence_check       = 'X'
    *       NO_ENQUEUE               = ' '
          IMPORTING
            return                   = return
    *       RETURN1                  =
    *       HR_RETURN                =
          TABLES
            proposed_values          = it_prop_val
    *       MODIFIED_KEYS            =
    When it is executed, it gives me the error:
    'No data available for A 00007787 0003' where 00007787 is the employee number. My guess is that 0003 is for the Payroll status (0003) infotype. I thought it would be automatically created with the FM.
    When I change the dialog_mode parameter to '0', no error appears but, the employee data isn't saved i.e. I cannot access it with PA30 or PA40. It says 'Personnal number not yet assigned'.
    So, I'd like to know how to save data correctly and why dialog_mode '1' or '2' failed everytime.
    Thanks a lot for your answers, points will be awarded as it fits my needs!

    Patrick
    My guess is that this FM HR_MAINTAIN_MASTERDATA will not create all 4 infotypes (0, 1, 2 and 3 as I think all those 4 are mandatory for every employee). I would say that you need to specify data for each infotype separately. You can in fact create all those 4 infotypes in separate calls of FM. I was doing this some time ago (with calling FM 4 times) but I was using different FM - HR_INFOTYPE_OPERATION.
    The obligatory fields for each infotype depends on the setting in you system so you need to find this out by your-self.
    As per infotype 0003 do not forget to set properly field VIEKN - see feature IVWID otherwise maintenance of created employee may not be possible.
    One last thing - you may try to use IDOC HRMD_A for employee creation. This way is much faster than using FM's. But be careful no data check/validation is done when you pass an IDOc to application (which maybe an advantage in your situation).
    Andrzej

  • Create User and link it to new Employee

    Good Day Everyone,
    I have successfully created a VB script that handles the registration of a new User in our SBO Company, but I cannot find the way to link it with a new Employee card. It is my understanding that I need to associate these two objects through the following code:
    oEmployee.ApplicationUserID = oUsr.InternalKey
    How can I retrieve the newly created userid as the use of a mere
    oUsr.InternalKey
    returns 0 ?
    Is it the correct way to proceed ?
    Thank you for your answers,
    Jean-Philippe
    Edited by: donbuz on May 20, 2009 10:39 PM

    oCompany.StartTransaction()
    oUsr.Add()
    oEmployee.ApplicationUserID =  CInt(oCompany.GetNewObjectKey())
    oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)

  • Workflow: create a document set and add default documents to it

     
    Having a workflow create a new document set seems straightforward: use the "create list item” action, choose the target library and one of the document set content types available in it
    and supply values for the fields. But that workflow action doesn't provision the document set with default content, even though the content type has default content defined. Other people have asked the same question and some say you can write a second workflow
    triggered by creating the new document set item in the target library, but I don't see how you can add default content to it.
    "Copy list item" would work if you could supply the title of the document set along with the target library. You can copy files (in my case several .msg, .pdf and .docx files) from
    a "templates" library, but without being able to add the document set name/path as part of the target "this list" they end up in the root of the target library not in the document set.
    I've seen suggestions that "Create list item" will work, but I don’t see how it can since with that you can't supply a file name to provide the default content with.
    Am I missing something?
    Tom
    SharePoint Systems Officer, Capital Regional District, BC, Canada

    Hi Tom,
    According to your description, my understanding is that you want to add documents to the document set using workflow.
    I recommend to use the custom workflow activity “Copy List Item Extended” and you download it from the following link:
    http://spdactivities.codeplex.com/.
    With this activity, we can copy documents to document sets.
    Please refer to the link below to deploy the custom activity:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/24f21b48-0078-4c18-bd3e-180cd2291c28/moving-items-into-library-foldersdocument-sets-infopathspd-2010-workflow
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • Hp 610-1190f

    on/off switch does not work all  time. Seems to  be misaligned.

  • Firewall constantly asks to authenticate for incoming connections

    Hi, Apologies if this is nothing new, but I can't find a solution. EyeTV 3.1.2 on my MBP insists on asking on each and every launch whether I want "to accept incoming network connections." I do, I tell it so and have to authenticate. But the next tim

  • JDBC DRIVERS 와 NLS 의 관계

    제품 : JDBC 작성날짜 : 2003-08-06 JDBC DRIVERS 와 NLS 의 관계 ========================== PURPOSE JDBC drivers 가 지원하는 National Language Support (NLS) 에 대해서 알아봅니다. JDBC Drivers 는 NLS 와 conversion 을 지원합니다. JDBC Drivers 는 NLS 를 지원합니다. 오라클이 지원하는 character set 을 가진

  • Nokia 808 Flash goes on at a time of sms arrival

    Hallo! The flash light on my 808 goes on on its own frm time to time. Mainly it happens during SMS arrival. It goes on and stays on untill I switch it off by pushing slider down for few seconds. Accidental pressing of slider is excluded as it happens

  • Forms6i performance on Web

    Hi, I just want to know the following:- 1) If forms6i runs on web will it generate the applets on the fly. 2) If so, Is the performanace of the application is satisfactory We had bad experience of performance issue with last release of OAS 4.0.x with