Custom workflow for course registration

Hi,
I have an assingment to create list where items are courses and when new item is created you can give max participant value. List and columns are ok. (max participants(integer), current participants(integer), open/closed(choice), all participants(text)
So this is what I want to do with workflow:
When someone wants to join the course, person will click "Join course" button
workflow starts and it will add +1 to 'current participants'
workflow adds display name of person to column 'all participants'
if 'current participants' is same as 'max participants' then course will change 'closed'
I can use SP designer with workflow 2010 so is this impossible?
I have possibility to use visual studio 2010 but i'm not very familiar with C# workflows.
My biggest worries are that
how to store all participants to one column (multiline text) with workflow
how to display participants column only to admin users.
Thanks for any help/suggestions.
Antti Astikainen

Hi Antti,
I have done similar project in past and used only SharePoint Designer. Yes it is very much possible using SPD.
how to store all participants to one column (multiline text) with workflow
>> Maintain a multiline text column as you assumed and then just do
attendee = CurrentItem:Attendee +";"+attendee
how to display participants column only to admin users.
>>   you can hide this column from default view or maintain a different list where course name(lookup)
and this attendee (multi line) will be saved. You can add this multi line in master course list as well (depending on your design)
Using SPD workflow you can update same list item / different list item / and it has many other action.
For 'State Machine workflow' you may need VS.
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

Similar Messages

  • Approval Workflow for Self Registration

    Hi ,
    I have a requirement where I have to develop an approval workflow for self registration.
    My requirement is If the user type is Employee the user must not go through approval, but if the user type is contractor they must go to some admin user for approval.
    How can I achieve this.
    Regards

    Hi,
    You can refer this link "Create a Custom Approval Process for Self Registration" it might clear your doubts. Also you can create rule as said in below post. For that you can refer "http://codigoctm.files.wordpress.com/2012/11/lab-06-access-policy.pdf".
    Regards,
    Sunil

  • Debug background task in custom workflow for PO change

    Hi,
    We are on ECC 6.0 EHP7.
    I have a custom workflow for PO object type(delegated to std object type BUS2012).
    There is a background task which has some custom code written and I need to debug this code.
    Can someone please let me know how to debug a background task?
    Thanks.

    As suggested by ronen we can debug through swo1 but we have to pass values manually for importing parameters, by using sm50 also we can do debug and there is one more way  to debug
    if its custom task change background  task to fore ground and change business object method also change it to fore ground and activate the work flow.
    now change any  po  then it will stop at that step now take that work item id in swi1 and go to swia and execute after putting break point in that method of business object.
    But best way to debug  through infinite loop i.e sm50.
    suri

  • Custom workflow for manual merch projects

    Hi,
    Having issues in configuring custom workflow.
    In ATG10.0.3 created a custom workflow(editCommerceAssets.wdl) & configured with catalog import job (importing thru spreadsheet & creating a Merch project).This works successfully.
    I am trying to configure this custom workflow for manually created projects in BCC.
    In the following files I tried replacing commonWorkflow.wdl to editCommerceAssets.wdl.
    <localconfig>\atg\commerce\web\assetmanager\taskConfiguration.xml
    <localconfig>\atg\commerce\web\workflowActivities.xml
    But getting this error in pub console:
    10:13:23,195 WARN [ActivityManager] The workflow activity with ID /Common/commonWorkflow.wdl has been registered multiple times for the same workflow. Please verify your workflow
    configuration as this is not allowed.
    10:14:40,453 ERROR [ApplicationManager] There is no application configured with ID '/Common/commonWorkflow.wdl'.
    Any recommendations?
    Thanks!
    Mani
    Edited by: user11263665 on Oct 17, 2012 9:38 AM

    It is possible that the workflow has already been registered in db before you modified workflowActivities.xml.Did you try cleaning up workflow tables and restart the server??
    epub_workflow_info, epub_coll_workflow, epub_ind_wf,epub_wf_server_id tables
    Make sure there is only one entry for each workflow in epub_workflow_info. If there are multiple entries, then it may be coming from 2 different places and you need to disable one of them. Whenever you create custom work flow, copy the existing workflow and modify it and give it a different name. If you are importing programmatically, you really dont need to configure it in taskConfiguraiton.xml ( as it corresponds to settings related to which item-descriptors, tabs, security in BCC gui).
    -karthik

  • Workflow for self registration

    Hi Folks,
    I need to know the exact workflow used for user self registration, i.e., the workflow where in the mail to the registration approver to approve the new user request is triggered.
    Can you please let me know.
    Regards
    Rajeev

    Hi Rajeev,
    All Workflow on SRM can be found on the page
    http://help.sap.com/saphelp_srm30/helpdata/en/8b/4fa9585db211d2b404006094b92d37/content.htm
    Click on details New User (WS10000192)
    Approval Workflow for Creating Internal Users Use
    When an employee requests a user master record and Customizing has been configured such that a user needs to be approved, the user’s manager receives a work item.
    · If the manager approves the request, the user is released. The employee receives an e-mail with an automatically generated password at the address that he or she entered when making the request.
    · If the manager rejects the request, the employee is also notified by e-mail.
    Prerequisites
    · You have activated approval by the manager.
    Menu path in the Implementation Guide (IMG):
    Supplier Relationship Management ® SRM Server ® Master Data ® Create Users ® Set Approval Indicator
    · You have included the manager in the organizational plan.
    Menu path in the Implementation Guide (IMG):
    Supplier Relationship Management ® SRM Server ® Cross-Application Basic Settings ® Organizational Management ® Change Organizational Plan
    · You have activated event linkage for the event Created for workflow WS10000192.
    Menu path in the Implementation Guide (IMG):
    Supplier Relationship Management ® SRM Server ® Cross-Application Basic Settings ® SAP Business Workflow ® Perform Task-Specific Customizing
    Regards,Nishant
    Please reward if this helps.

  • Custom Workflow for sending Remainder mail in MS CRM 2013/2015 online

    Hi All,
    We have a requirement to send a remainder email before 5 days,3 days and on the same day of the M/TC date in lead form. To achieve this we tried using Custom Workflow. Below is the logic tried but in the highlighted line
    not able to retrieve the "M/TC date" value, this results in no output.
    Kindly suggest where we are going wrong or a best approach to do this.
    Parameters:
            [RequiredArgument]
            [Input("InputEntity")]
            [ReferenceTarget("lead")]
    public
    InArgument<EntityReference>inputlead
    { get;
    set; }
            [Output("TaskCreated")]
            [ReferenceTarget("task")]
    public
    OutArgument<EntityReference>
    taskCreated { get;
    set; }
    code:
                try 
                Entity lead
    = (Entity)service.Retrieve("lead",
    context.PrimaryEntityId, new ColumnSet(newString[]
    { "new_mtcdate" })); //  (unable to
    retrieve the mtcdate)            
                      Guid leadId
    = this.inputlead.Get(executionContext).Id;
                    if(lead.Contains("new_mtcdate"))
                      {  DateTime date
    = DateTime.Now;
                          DateTime mtcdate
    = (DateTime)lead["new_mtcdate"];
                          TimeSpan elapsed
    = date.Subtract(mtcdate);
                          double days
    = elapsed.TotalDays;
                          Entity task
    = new Entity();
                          task.LogicalName = "task";
                          if (days
    == 5)
                          {task["subject"]
    = "Five days more for the Meeting";
                              task["regardingobjectid"]=new EntityReference("lead",leadId);
                               Guid taskId
    = service.Create(task);
                            this.taskCreated.Set(executionContext,new EntityReference("task",
    taskId));}
                          if (days
    == 3)
                          {task["subject"]
    = "Three days more for the Meeting";
                              task["regardingobjectid"]=new EntityReference("lead",leadId);
                               Guid taskId
    = service.Create(task);
                            this.taskCreated.Set(executionContext,new EntityReference("task",
    taskId));}
                          if (days
    == 0)
                          {task["subject"]
    = "Today you have Meeting";
                              task["regardingobjectid"]=new EntityReference("lead",leadId);
                               Guid taskId
    = service.Create(task);
                            this.taskCreated.Set(executionContext,new EntityReference("task",
    taskId));
    Regards, Rekha.J

    Hi,
    Try with replacing
    Entity lead = service.Retrieve("lead", context.PrimaryEntityId, new ColumnSet(new string[] { "new_mtcdate" }));
    also make it confirm, you are getting EntityId.
    Also check  Link

  • Custom workflow for Fiori Approve Timesheets

    Hello All,
    I am investigating complexity of adding custom workflow to Approve Timesheets.
    There is BADI SRA010_BADI_TIMESHEET_APV.
    Any experiences/advices  ?

    Hi Lukasz,
    How do you change approver using data from Ztable in the current system?
    If you are talking about workflow approver determination logic, it is a job for Workflow Engine and not for Fiori.
    Regards, Masa
    SAP Customer Experience Group - CEG

  • Custom Workflow for custom HCM form - reg

    Hi,
    We have a custom form designed and having a workflow for that. We have developed the workflow like any other workflow for appraisals for example or in SD. But here while test run of process we are getting error saying 'Work Item not found' though the work item is present in SWI1.
    We have below steps.
    Header
    Importing form container
    User Desicion (Approve/Reject)
    If approved update database.
    Can any one correct me if am wrong.
    Raj

    Hi,
    For workflows involving HCM forms, there some standard tasks which should be made use of:
    Task Group TG17900001: Components for HCM Processes & Forms
    Task Group TG17900002: Interactive Components
    Standard Task TS17900100: Edit Form
    Standard Task TS17900101: Approve Form
    Standard Task TS17900102: Form Is Edited Again by Author
    Standard Task TS04000018: Process PD Form
    Standard Task TS04000019: Approve PD Form
    Standard Task TS04000020: PD Form Is Edited Again by Author
    Workflow Template WS17900260: Save Form with Error Handling
    Workflow Template WS17900404: Draft for Process Start
    Workflow Template WS17900418: Forward: Process Start with Errors
    Task Group TG17900003: Background Components
    Standard Task TS17900106: Check Existence of PA Infotype
    Standard Task TS17900107: Check Form Data
    Standard Task TS17900108: Save Form Data
    Standard Task TS17900110: Import Field Value to WF Cont. Element
    You can use TS17900110, TS17900101/TS04000019 and TS17900107. Please make sure you read some documentation before you use these tasks.
    Let me know, whether this is helpful.
    Thanks,
    Sukumar.

  • Custom Workflow for User Requirment

    hi ,
    i am creating a workflow for which is custom .
    i have 1 module pool program where i have 7 fields.
    User can create the data and save it .
    once he save the Data the workflow should trigger.
    i have created a Z business object wherein i have created 4 key fields and 3 attributes according to data in the custom table
    the BO has no supertype. and created 1 event save
    now my question is where should i write the code for triggering the workflow on the save of the entries in the module pool program. and i am also i am responsible for showing the approver in the table after the decision is taken in workflow activtiy
    please suggest
    Thanks on advance
    Chitis

    Hi,
    Even i haven't worked on such requirement.
    I know how to trigger a workflow or start a workflow through customization.
    But i like to know in case of module pool programming where I am supposed to write the code?
    Whether in PAI or PBO or anywere else?
    Let us know.
    Thanks,
    Raj

  • Custom Workflow for Shipping Execution

    Hi All,
    We have a requirement to cater approval on issuance i.e. at the time of shipping execution. For this purpose we have used Oracle Workflow Builder to cater the requirement. The workflow is working fine for approval but not for rejection. If we approve the shipping execution, the transaction is working fine but if we rejects it, the shipping transaction got stuck with exception and if we resolve the exception manually, we are unable to re send it for approval or even shipping.
    I will be grateful if anyone can help me out and advise me on how to setup of workflow for rejection.
    Thanks in advance.
    Regards,
    Zulfiqar Ali Mughal

    It is possible that the workflow has already been registered in db before you modified workflowActivities.xml.Did you try cleaning up workflow tables and restart the server??
    epub_workflow_info, epub_coll_workflow, epub_ind_wf,epub_wf_server_id tables
    Make sure there is only one entry for each workflow in epub_workflow_info. If there are multiple entries, then it may be coming from 2 different places and you need to disable one of them. Whenever you create custom work flow, copy the existing workflow and modify it and give it a different name. If you are importing programmatically, you really dont need to configure it in taskConfiguraiton.xml ( as it corresponds to settings related to which item-descriptors, tabs, security in BCC gui).
    -karthik

  • How to create custom workflow for document library?

    Hi All,
    I have a document library with a custom  people picker column "assign to". Need to create approval workflow using designer, approval must send to person who is selected in "assign to" column. I tried with designer workflow,But finally
    facing "The e-mail message cannot be sent. Make sure the e-mail has a valid recipient". How to fix and achieve my scenario? Thanks in advance!

    I would suggest you to firstly print the assign to value using "Log to history" action. Moslty it could be of three reasons,
    1. Assign to value is not getting populated correctly in your SPD workflow
    2. Email server is not configured properly, If alerts and other emails are workfing in your server then this would not be a reason for issue
    3. The user your trying to send an email does not have valid email
    do let us know if can get the user email in your workflow.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • Using customer workflow for delete action on active sync

    The following from is called by a partent form when the feedOp is delete.
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Configuration PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Configuration name='VDSActiveSyncDeleteForm' wstype='UserForm'>
         <Extension>
              <Form>
                   <Field name='viewOptions.Process'>
                        <Expansion>
                             <s>Custom User Delete</s>
                        </Expansion>
                   </Field>
                   <Field name='deleteFields'>
                   <Field name='resourceAccounts.currentResourceAccounts[Lighthouse].selected'>
                   <Expansion>
                   <s>true</s>
                   </Expansion>
                   </Field>
                   </Field>      
              </Form>
         </Extension>
         <MemberObjectGroups>
              <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top' />
         </MemberObjectGroups>
    </Configuration>
    The default delete user workflow keeps running. I am verify this by setting the filetrace in the system configuration.
    What am I doing wrong?

    Looks like 'viewOptions.Process' does not work on a delete feedop....but this looks to work
    <Field name="processInputs.task.process">
    <Expansion>
         <s>NIPR Delete User</s>
    </Expansion>
    </Field>

  • Custom workflow for Over Time

    Hi All,
              I have a requirement for Over time workflow. There is no standard workflow is there for this. FC asked me to develop a screen for over time in which Reporting manager will enter the employees overtime details, when he clicks on submit button it should go for approval to DGMs inbox. If DGM approves the OT then it go for Time office where they may change the OT data or they may approve the OT.
    My issue is I have created the entire flow through modulepool. I have developed the screenand program etc.,. when RM submits I am triggering an event and then WF starts. Now when the DGM receives the workitem how can I display the second screen which are having the approval Rejection and Change buttons appears, how can I write the logic inside the BO Method to call the 2nd screen?.
    Can anybody please guide me how to complte this WF.
    Regards.
    Srija.

    Hi,
    We also had the same requirement, we handled the same using Module Pool Programming and Workflow.
    My Understanding: Imagine you need to call the Module Pool program to get approval for the OT.
    Steps:
    1. Place one work item in DGM's Inbox, when DGM double clicks the work item, write a method to call the same module pool in display or Change mode as per your requirement.
    2. Now, in Step 1 use Import / Export Memory ID's.
    In BOR Object Method, before doing CALL TRANSACTION <ZXYZ>. You need to Export one Memory ID say M1 with value "X"
    In PAI of the appropriate module pool screen you need to IMPORT data from Memory ID into one variable say WS_M1.
    3. Create two buttons on the screen keep them in invisible mode, (just check the property of the button element).
    Now, write the code like IF WS_M1 equal to 'X', loop at screen, and make the two buttons visible, if control coming from workflow task, if there are more elements to control it is easy to use groups for screen elements.
    4. Now, in PBO of the same screen, capture the ok_code of the Approve or Reject button, raise appropriate events, update data base.
    5. Make sure your BOR method is asynchronous, other wise if the manager clicks cancel or F3 then task will disappear.
    Pls let me know if you need more info.
    Regards,
    Mohan Vamsi

  • Custom Workflow using Oracle Workflow in ContentDB

    Hi,
    Could we use custom workflow which is made using Oracle Workflow instead of BPEL.
    Regards,
    Yulisar

    Having registered custom workflows for Content DB via Enterprise Manager, potentially you can use any tool capable of dequeuing/enqueing messages from the IFS_BPEL_OUT/IFS_BPEL_IN advanced queues as part of a custom workflow process.
    By default, we assume you are using Oracle BPEL PM with its Advanced Queue adapater to process the queue messages. However, there is nothing stopping using Oracle Workflow or any tool for that matter.
    HOWEVER!!! Warning!!! There is a high probability that Content DB will drop the bundled Oracle Worflow installation in the near future. What this means, is that you should consider installing/configure/patching your own separate Oracle Workflow installation and not rely on the bundled Content DB solution which is used internally for Serial and Parallel Approval workflows.
    thanks,
    Matt.

  • Workflow for non PO base invoice (FV60)

    Dear All,
    I am trying to customizing workflow for non po base invoice. I have done all the nessary customization setting - obwa , obwj , obwb, obwc, obwd.obwe,obwf & using subworkflow WS10000051. Also I have checked that both Released Necessary & Doc. complited marked when document parked. I refered the following thread for the customization setting.
    Re: Hi Csaba Soltesz, How can you activate workflow
    Now the workflow is not triggering when I a document parked(save as complited). I am checking this via. FB03 ---> workflow --> Workflow overview
    Please not that workflow is working perfectly for other company code in the same client. Hence nessary workflow setting already maintiained in the client.
    *Kindly let me know whether I have missed some step?
    Thanks in advance.
    Regards
    spsahu

    answered

Maybe you are looking for

  • Database function

    I have a function as below, which is working fine. this function excutes a package to get all the column values for a given aid from procurementaction table and is stored in a variable l_pa i select one of the column like awardnbr and display the val

  • Case insensitive search working in dev but not in prod

    Hello All, I had set the CASE_SENSITIVE_CHARACTER_COMPARISON parameter as OFF in NQSConfig.ini file for enabling the case insensitive search in OBIEE. This setup is letting me do the case insensitive search in Dev env but the same doesnt work in prod

  • Import the WSDL file in NWDI 7.2 using EJB Project

    Hi Experts, This is my Requirement: I have WSDL File and it is working in the Portal.I have checked in the WSNavigator. Now i need to import the WSDL file in NWDI 7.2 using EJB Project. Please let me know the steps to import the WSDL File. Thanks & R

  • Changing phone numbers on i phone

    my husband and i bought _I phones_ at the same time a few months ago.my one has been damaged .my husband wants to give me his .however my sim card will not work in his phone.we both took out the same contract with o2 (service providers) at the same t

  • How to make close last tab actually open SuperStart rather then closing Firefox?

    Is there a way to make Firefox (or SuperStart) NOT close Firefox when the last tab is closed? I'd prefer for it to act like Opera in that it would make the SuperStart tab page appear instead. This way I have to choose to close Firefox by actually clo