Attachment in Workflow approval

Hi,
We are using SAP standard workflow for approving Appropriation Request
through object BUS2104.
Applicant gets mail after request is approved or rejected.
In this process, Approver adds his remarks as attachment in workflow.
We want to send these attachments to Applicant alongwith approved/rejection mail.
Can you help in getting these attachments ?
Regards,
SATYAJIT

Hi Viji,
Thanks for quick reply.
I am added some more information here... so that you can help me ...
1. The mail is going to SAP id's inbox. And it is going through activity ( task TS00300053 ) .
There is no container item "attachement", only AttachObjects is there.
I tried to link AttachObjects with AttachObjects.
But it did not work.
2. I added a new mail step with task as TS00300053.
In binding i linked AttachObjects with Attachment.
Recipient type = U
Address = (hardcoded as my external address).
Still the mails are not going.
It is giving following error.
The work item "Appropriation request HYD-0076 was approved!" (ID
000000905122) of type B has the status ERROR.
Initiate a correction measure so that the respective workflow (ID
000000905116) can be continued.
Can you help ?
Regards,
SATYAJIT

Similar Messages

  • How to force note attachment in an approval process ?

    Hello experts,
    I am trying to find a solution in order to force an agent to write a note as attachment, during an approval workflow process, especially when the agent rejects.
    Does somebody already implement such solution, and how ?
    Thanks in advance.
    Vlef

    Hi Vlef,
    after your decision task, insert step "Document from Template" (standard SAP task TS70008298).
    this will display a document in the agents' inboxes that they have to fill in. You can create a doc template at design time (SAP has some standard templates you can use, or can create yourself)
    or can specify the template at run time, by populating the correspondent workflow container element "WF_DOCUMENT_0001".
    I hope this helps,
    Tiberiu

  • Submitted form immediately redirects in workflow approval

    I've created a form submission process following this description https://blogs.oracle.com/kyle/entry/adding_ucm_web_forms_to_site_s and associated the submission with a workflow
    It works, the form gets into ucm and workflow is triggered. However, the confirmation page, what the "form" redirects to after submission shows right away after clicking on the link in the email approval message.
    The service used is SUBMIT_HTML_FORM and the redirect is defined as
                   var currentElement7 = document.createElement("input");
                   currentElement7.setAttribute("type", "hidden");
                   currentElement7.setAttribute("name", "RedirectUrl");
                   currentElement7.setAttribute("value", "<!--$ssNodeLink(ConfirmationPage)--><!--$AdditionalConfirmParameters-->");
                   aForm.appendChild(currentElement7);
    Any ideas on how to prevent the redirect when the form shows for workflow approval ?
    Thanks ...

    Hello Laxman !
    You have stated as follows :
    When i assign method in task there is one tick mark to run in back ground that is in display mode
    so not able to put in background.
    The method you have created in SWO1 could be dialog one.That's why you aren't able to set as back ground in task.So, uncheck the "Dialog" check box under "General" tab.
    Since you are unable to open the Adobe form , the problem could be with binding.Also make sure you pass all the required parameters.
    Please go through the below URL which gives additional details about how to attach Adobe forms as an attachment to work item : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60ff6ad3-729b-2b10-6582-fedc82680a29
    Regards,
    S.Suresh

  • Attach the workflow process to portlet pages

    Hi,
    I would like to know the steps to attach the workflow process to portlet pages.
    -- Babu

    What do you mean by "attach the workflow process to portlet pages"
    if you mean to have approval withing pages this can be done using teh approvals and notifications functionality built in within portal and if you mean attaching external workflows from oracle portal or BPEl, that can also be done.

  • 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:
      

  • Reminder mail for workflow approval

    Hi All,
    We have a scheduled task which sends Reminder mails for workflow approval which has been pending for more than 5 days.
    Recently I created new workflow definitions and reminder task stopped sending mails.
    I checked task and it has IapiTaskIfc Class com.frictionless.custom.wkfreminder.sendWorkflowReminder.
    How to check this class and do i need to make changes somewhere else to send reminder mails?
    Regards,
    Prabhat

    Hi Prabhat,
    I am working on creating a scheduled task for sending reminder emails. I need help on IapiTaskIfc Class com.frictionless.custom.wkfreminder.sendWorkflowReminder. Can you please share sendWorkflowReminder class to me, so that I can get idea about the code written for sending reminder emails? It would be great help.
    To check the class, you need to get the jar from server and decompile it. You can get some idea by looking at the java class file then.
    Thanks,
    Saloni

  • How to call workflow approve service in loop for multiple documents.

    i have created a serviceHandler for approving the document and i post the comma separated dIDs as a string from workflow approval template(custom template). And in serviceHandler program i pass the did for approving and only first document is approved and for other document its throwing error, Its showing error document revision is not a latest revision but document is having only one revision.
    my code is: can anyone help me.
    public void SendAllDocuments()
            throws DataException, ServiceException{
        try{
        String [] ContentDids;
        System.out.println("+++++++here we are the all SendAllDocuments++++++++++++++");
        String workflowIds = m_binder.getLocal("workflowIds");
        if(!workflowIds.isEmpty()){
             ContentDids = workflowIds.split("\\,");
        }else{
            throw new ServiceException("document are not selected from users, workflowIds"+workflowIds);
        int arrayLength = ContentDids.length;
        for(int iterator=0;iterator<=arrayLength-1;iterator++){
            SendDocumentToUserQueue(ContentDids[iterator]);
        }}catch(Exception e){ e.printStackTrace();}
        m_workspace.releaseConnection();
    //DocMeta table varible which are coming from Internal assignment page
    //xWF_SentFrom",xWorkflowStepAlias",xWF_SendTo",xPurposeForSubmission",xPurposeForRejection",xDocApproval",xWorkflowComments"
    //xInternalAssignment",togroup",xWF_SendToSend",xWF_SendToSend12",xPurposeForSubmissionSend",xWF_SendToApprove",wfSendApproveComments"
    //Revision table variable which can get from getRevisionsTableValueFromDid
    // dDocName", dDocType",dRevLabel",dSecurityGroup",dDocAccount"
    public void SendDocumentToUserQueue(String approvalId) throws DataException, ServiceException{
        try{
            DataResultSet resultset =getRevisionsTableValueFromDid(approvalId);
            String sendToName = m_binder.getLocal("sendToName");
            String sender="takuma";
        //String workflowComments = m_binder.getLocal("workflowComments");
        String workflowReason = m_binder.getLocal("workflowReason");
        m_binder.putLocal("IdcService", "WORKFLOW_Approve");
        m_binder.putLocal("idcToken", m_binder.getLocal("idcToken"));
        m_binder.putLocal("dID", approvalId);
        m_binder.putLocal("xWF_SendTo", sendToName);
        m_binder.putLocal("xPurposeForSubmission","108");
        m_binder.putLocal("xWF_SentFrom", sender);
        m_binder.putLocal("xWorkflowStepAlias", "");
        m_binder.putLocal("xPurposeForRejection", "");
        m_binder.putLocal("xDocApproval", "");
        m_binder.putLocal("xWorkflowComments", "");
        m_binder.putLocal("xInternalAssignment", "");
        m_binder.putLocal("xWF_SendToSend", "");
        m_binder.putLocal("dDocName", getData(resultset,"dDocName"));
        m_binder.putLocal("dDocType", getData(resultset,"dDocType"));
        m_binder.putLocal("dRevLabel", getData(resultset,"dRevLabel"));
        m_binder.putLocal("dSecurityGroup", getData(resultset,"dSecurityGroup"));
        m_binder.putLocal("dDocAccount", getData(resultset,"dDocAccount"));
        executeService(m_binder, sender);
    }catch(Exception e){ e.printStackTrace();}
    public DataResultSet getRevisionsTableValueFromDid(String documentId) throws DataException, ServiceException{
        DataResultSet drs = new DataResultSet();
        try{
            /*String sqlDocType="select dDocType from revisions where dId ='"+documentId+"'";
        ResultSet documentRset = getSystemWorkspace().createResultSetSQL(sqlDocType);
        //handle null pointer exception for DocumentValue
        String DocumentValue = ResultSetUtils.getValue(documentRset, "dDocType");*/
        String sql="select dDocName,dDocType,dRevLabel,dSecurityGroup,dDocAccount from Revisions where dId ='"+documentId+"'";
        ResultSet rset = getSystemWorkspace().createResultSetSQL(sql);
        if (rset == null || rset.isEmpty()) {
            SystemUtils
                    .info("Resultset is null please check database query and Did ="+documentId);
        drs.copy(rset);
        catch(Exception e){
            System.out.println("in catch of getRevisionId Method");
            e.printStackTrace();}
        //handle null pointer exception for DocumentValue       
        return drs;       
    public String getData(DataResultSet dataSet, String value) {
        String fieldValue = "";
        fieldValue = ResultSetUtils.getValue(dataSet, value);
        System.out.println(fieldValue+"value is null in getData Method=======");
        return fieldValue;
    public UserData getFullUserData(String userName, ExecutionContext cxt,
            Workspace ws) throws DataException, ServiceException {
        if (ws == null)
            ws = getSystemWorkspace();
        UserData userData = UserStorage.retrieveUserDatabaseProfileDataFull(
                userName, ws, null, cxt, true, true);
        //ws.releaseConnection();
        return userData;
    public Workspace getSystemWorkspace() {
        Workspace workspace = null;
        Provider wsProvider = Providers.getProvider("SystemDatabase");
        if (wsProvider != null)
            workspace = (Workspace) wsProvider.getProvider();
        return workspace;
    public void executeService(DataBinder binder, String userName)
            throws DataException, ServiceException {
        // obtain a connection to the database
        Workspace workspace = getSystemWorkspace();
        // check for an IdcService value
        String cmd = binder.getLocal("IdcService");
        if (cmd == null)
            throw new DataException("!csIdcServiceMissing");
        // obtain the service definition
        ServiceData serviceData = ServiceManager.getFullService(cmd);
        if (serviceData == null)
            throw new DataException(LocaleUtils.encodeMessage(
                    "!csNoServiceDefined", null, cmd));
        // create the service object for this service
        Service service = ServiceManager.createService(serviceData.m_classID,
                workspace, null, binder, serviceData);
        // obtain the full user data for this user
        UserData fullUserData = getFullUserData(userName, service, workspace);
        service.setUserData(fullUserData);
        // binder.m_environment.put("REMOTE_USER", userName);
        ServiceException error = null;
        try {
            // init the service to not send HTML back
            service.setSendFlags(true, true);
            // create all the ServiceHandlers and implementors
            service.initDelegatedObjects();
            // do a security check
            service.globalSecurityCheck();
            // prepare for the service
            service.preActions();
            // execute the service
            service.doActions();
            // doany cleanup
            service.postActions();
            // store any new personalization data
            service.updateSubjectInformation(true);
            service.updateTopicInformation(binder);
        } catch (ServiceException e) {
            varTrueFalse = false;
            error = e;
            SystemUtils.info("exception in second location=" + e);
            e.printStackTrace();
        } finally {
            // Remove all the temp files.       
            service.cleanUp(true);       
        // handle any error
        if (error != null) {
            error.printStackTrace();
            if (binder.getLocal("StatusCode") == null) {
                binder.putLocal("StatusCode", String.valueOf(error.m_errorCode));
                binder.putLocal("StatusMessage", error.getMessage());
            } else {
                throw new ServiceException(error.m_errorCode,
                        error.getMessage());

    I guess it is caused by the fact that some of variables in the binder refer to the first workflow item. My bet would be dDocName.
    Try to find out what's in the binder if you approve the second item from GUI and what's there when you do it from your program. That should give you enough info what you need to change.

  • Attachment in workflow user decision

    Hi All,
    Can anybody let me know how to use attachment in workflow user decision box? My requirement is I have one internal table and I want to display the data of the internal table as an attachment.
    Thanks,
    Salil.

    HI,
    Go thru thi link
    http://help.sap.com/saphelp_nw04s/helpdata/en/8d/25f131454311d189430000e829fbbd/content.htm
    Thanks
    Sunil

  • How to Send mail woth pdf attachment through workflow

    Hi SDNer's,
           I have a problem with pdf attachment through workflow. Please anybody help me to get solve my issue.

    Hi Suresh,
    I just tried this thing in my systtem and it is working... BADI is trigerred everytime there is a change in the PO... even when you release there is a change in the PO so this BADI will be triggerred....
    I suggest you should implement BADI in your dev system and place a break point in the POST method...
    After that create a PO and release it using ME29N... thereafter when you save the PO... this method will trigger and you will have access to PO details...
    PS: Remember this BADI wont work for transaction ME29...
    Regards
    Gautam

  • Workflow approval from mobile in ECC5

    Hi All
      We are already having workflow approval in R/3 where it happening from SAP inbox now my client want to migrate to mobile phone. Its it possible from ECC5 we dont have portal. How to implement it. Do we need to install any 3rd party like sybase or other. The main module is MM and PS and also they should be online always ie latest data should send and should update immediately ie should be syn with R/3. How it can be achieved. And also it should be device independet approval can be happend from iphone or blackbarry. Is any link or note are available to share with our client. Awaiting for your thoughts.
    Regards
    Vijay

    Hi Vijay,
    May be you should check the following WiKi link on SDN.  This might answer some of your questions.
    http://wiki.sdn.sap.com/wiki/display/mobile/SybaseMobileWorkflow
    Hope this helps.
    Best Regards,
    Kranti

  • Some Users cannot Open Workflow Approval Task

    We have a SPD workflow published to our production site and it includes a 'Start Approval Process' task which involves a number of users (determined by a lookup to another list) this worked brilliantly until we republished the workflow with some minor changes,
    none of which were to this particular approval task. Now we are seeing some strange behaviours. When some users click the task to approve they are seeing 'This from cannot be opened in a browser, To open this form use Microsoft Infopath'. Now strangely it's
    only certain users, if you're a site collection admin you never have this error. So if a user previously had the error and i then add them to the site collection administrators list the error goes away and they can complete the task.
    Obviously not a solution! giving users full control permissions on the task list or task item doesnt fix the error either. The same workflow on our UAT works without any issues. The task forms in SPD have not been customised either. Its a SP2010 Standard
    farm with no infopath services obviously. Bizarrely there are some users with only Contribute rights to the task list who can open approve tasks, so it's looking like a permissions issue to me but I'm at a loss to find a fix. I've tried totally removing
    the worklows and republishing, regenerating the .xsn task forms in SPD by deleting them and republishing, removing and re-adding the task related content types to site, Changing the Approval Task settings 'only allow users to edit their tasks...' to false
    and then back to true, the works, but to no avail.
    Anybody any ideas?
    TIA
    Chris

    Hi,
    According to your post, my understanding is that Some Users cannot Open Workflow Approval Task.
    I recommend that you can create a new list and workflow to check whether it works.
    Then use the user who get the error to open task.
    If he can open the task in the brower, the issue is related to the older list.
    Then you can use the new created list and assgin the task.
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/en-US/67dc8577-f248-4d6c-bb82-3aca0f084d24/this-form-cannot-be-opened-in-a-web-browser-error-not-an-infopath-form?forum=sharepointcustomizationprevious
    Thanks,
    Linda Li                
    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]
    Linda Li
    TechNet Community Support

  • Self Registration without Company or Workflow approval

    Hello,
    We have NW2004s SP 10.  Is it possible to allow a very simple self registration without using Companies or Workflow approval?  The online help seems to imply that this is possible, but I've tried to configure our Portal as such but nothing shows up on our welcome page. 
    What I've done is the following:
    User Admin UI settings:
    Enable Self-Registration of Guest Users=true
    Display Contact Information Form During Self-Registration = true
    All the rest are set to false/blank or default
    Visual Admin settings:
    Server ->Service -> UME Provider -> ume.logon.selfreg = true
    Thanks,
    T

    You also need to assign the UME Action UME.Selfregister_User to the Everyone group. Use /useradmin to create a UME role called something useful and add the UME action specified.
    Now grant that role to the Everyone group.
    Cheers

  • Redirection not working as expected after workflow approval

    Hi,
    We are migrating our application from Stellent 7.1 to WCC 11g and finding a strange issue in 11g with respect to a functionality that is working perfectly in 7.1.
    We have two services for workflow approval. If the approval is happening from the QA workflow, the service being called is WORKFLOW_APPROVE_SUBMIT_QA and if it is happening from other workflows, the service being called is WORKFLOW_APPROVE_SUBMIT.
    The actions for these two services are the same except the prepareRedirect action as given below:
    1. WORKFLOW_APPROVE_SUBMIT redirects to IdcService=GET_PORTAL_PAGE&Action=GetTemplatePage&Page=WF_INQUEUE_LIST, which displays the workflow assignments for the user from all workflows.
    3:prepareRedirect:IdcService=GET_PORTAL_PAGE&Action=GetTemplatePage&Page=WF_INQUEUE_LIST
    2. WORKFLOW_APPROVE_SUBMIT_QA redirects to IdcService=QA_WORKFLOW_LIST (a custom service written that will display the contents in the user's queue from the QA workflow)
    3:prepareRedirect:IdcService=QA_WORKFLOW_LIST::null
    For WORKFLOW_APPROVE_SUBMIT service, the redirection is happening as expected.
    But, WORKFLOW_APPROVE_SUBMIT_QA service is redirecting to IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=HOME_PAGE instead of the specified redirect.
    We tried changing the redirect action for the service WORKFLOW_APPROVE_SUBMIT_QA to IdcService=GET_PORTAL_PAGE&Action=GetTemplatePage&Page=WF_INQUEUE_LIST, but still it is redirecting to the HOME_PAGE.
    Highly appreciate any solution for this issue or any suggestions on the possible cause.
    Thanks,
    Manjusha

    I have version 33.0.1 and i still have this problem, any other help ? Thanks!

  • Workflow Approval for CTS+ for NON ABAP Transport

    Hi
    We have a NW Portal system currently using CTS+ for transport.
    We would like to incorporate a workflow approval for transport across the different landscape (DEV -> TEST -> QA -> PRD) with CTS+. The workflow approval would work in such a way that when someone approves a transport request from DEV->TEST, the Basis Admin will then perform the import to TEST. So this approval will also be needed from TEST -> QA and QA -> PRD.
    Does Solution Manager provide such workflow approval for NON ABAP transport?
    I do hope anyone has such experience to share.
    Thanks.
    Regards
    mike

    Hi Mike
    Yes solution Manager CHARMS or Change request managment functionality uses CTS+ to move the Non ABAP requests
    it uses IBASE as identifier for systems and for more can search sdn
    check this link too
    http://www.sdn.sap.com/irj/sdn/alm-change-management
    Hope it helps
    Regards
    Prakhar

  • ERM - Workflow Approval Configuration in ERM and CUP

    Hi Experts,
    I'm in the midst of configuring the workflow approval for ERM and have some queries.
    I followed the post-installation guide part 1 for ERM on the workflow configuration and have sucessfully done the following:
    1. Verified that the "AE_init_append_data_RE.xml" has been uploaded in CUP with Append option
    2. Verified that request type "RE_ROLE_APPROVAL" with workflow type "RE" exists
    3. Verified that priority "RE_HIGH" with workflow type "RE" exists
    4. Created a workflow initiator for ERM called "ROLE_APPROVAL" in CUP -> Configuration -> Workflow -> Initiator (with the said details as per the post-installation guide)
    5. Created a CAD called "ERM_ROLE_APPROVER" for ERM in CUP -> Configuration -> Workflow -> Custom Approver Determinator (with the said details as per the post installation guide, filling in the necessary URI, uname/pw for admin with UME roles)
    6. Created TWO stages , one stage for the role owner called "ERM_ROLE_APPROV", and one stage for the internal control owner called "ERM_ROLE_APPRO2", both with workflow type "RE" and Approver Determinator "ERM_ROLE_APPROVER" which was created in step 5 earlier.
    7. Created a path for ERM Role Approval Workflow in CUP -> Configuration -> Workflow -> Path, with workflow type "RE", Number of Stages "2", Initiator "ROLE_APPROVER", Active "checked" and I put Stage 1 as "ERM_ROLE_APPROV" and stage 2 as "ERM_ROLE_APPRO2".
    8. Configured the Exit Web Service (followed the details as per the post-installation guide for ERM)
    As my role approval is pretty straight forward (i.e. based on business process attribute defined, with each role owner being responsible for their business process), I did the following:
    1. Create approval criteria "Role Approver for Business Process FI"
    2. For that criteria, I based it on attribute "Business Process"
    3. I clicked on "Assign Approvers" to define who is the approver (i.e. the respective role owner responsible for Process FI)
    4. I defined the condition for this criteria, Condition = AND, Attribute = Business Process, Value = FI
    My queries:
    1. Is the approval criteria which I created in ERM, referring to 1st stage or 2nd stage of the path in CUP?
    2. I'm assuming that for query 1, the approval criteria which I created is for 1st stage (i.e. ERM_ROLE_APPROV), where can I configure the 2nd level approval for the internal control owner (i.e. ERM_ROLE_APPRO2, in the path which I defined in CUP)?
    Thanks!

    Hi Baldwin,
    All workflow paths in CUP are triggered by an Initiator.  Once the request from ERM meets "Initiator" ("ROLE_APPROVAL") requirements in CUP, the request will go to the first stage defined in the respective path. Approvers defined in each stage of the path can approve request. Once the request is approved in CUP, approval information will be sent to ERM and then the role in ERM will be moved to the next stage.
    Best Regards,
    Sirish Gullapalli.

Maybe you are looking for

  • Itunes 10.6.1.7 - Obliterated my Library

    Hoping someone can assist.  I just updated my itunes on my Windows PC to the new Itunes 10.6.1.7.  After restarting my computer, I opened the application to find my entire itunes library gone.  No music, videos, etc and now I'm afraid to see what wil

  • How to change the page that opens with a new tab to the default thumbnail screen?

    Some nefarious add-on appeared, so I deleted it. But I'm still left with it's search engine as my new tab page, instead of the default page with the thumbnails, which I infact really like. This has happened before, and I don't know how to get rid of

  • Reader 9, open outside browser causes problem with Firefox

    Reader 9.1.3,  Firefox 3.5.3. In reader, Edit, Preferences, Internet, Uncheck "Display PDF in Browser" so PDF files will open in a reader window. Open a PDF file from any web page.  The PDF opens in Reader as it should, but Fireflx also opens a new p

  • Why don't "browser.fixup.alternate.suffix" work, I end up in Google search instead?

    I have entered ".se" as suffix and enabled fixup.alternate. But if enter "volvo" in the address field the browser doesn't proceed to www.volvo.se, instead I end up in www.google.se. Why, what is wrong? /Tomas

  • My History is not showing up

    I have done everything I could think of to fix the problem but nothing is working. Firefox is not remembering the history and the time is wrong if it is. I have tried updating to a new Firefox I have checked the option of remember my history but it's