SAP_WAPI_ATTACHMENT_ADD and WORKFLOW

I have a project about WD4A and workflow. I use a WD to trigger a workflow by raising a event of self-defined class. Meanwhile, I want to generate a pdf file as an attachment for the next receiver in the workflow. Method SAP_WAPI_ATTACHMENT_ADD need work item ID as a import parameter. Here is the problem, how can I get the work item ID after triggering the workflow?

Hi,
You have to create a Method, in that method convert the Raw text to PDF. And send it as an attachment. Using the Function Module SO_NEW_DOCUMENT_ATT_SEND_API1.
Refer the below Program and create your Program.
Regards,
P Surjith Kumar
*& Report ZTESTMAIL
REPORT ZTESTMAIL.
DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
i_tline TYPE TABLE OF tline WITH HEADER LINE,
i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
Work Area declarations
w_objhead TYPE soli_tab,
w_ctrlop TYPE ssfctrlop,
w_compop TYPE ssfcompop,
w_return TYPE ssfcrescl,
w_doc_chng typE sodocchgi1,
w_data TYPE sodocchgi1,
w_buffer TYPE string,"To convert from 132 to 255
Variables declarations
v_form_name TYPE rs38l_fnam,
v_len_in LIKE sood-objlen,
v_len_out LIKE sood-objlen,
v_len_outn TYPE i,
v_lines_txt TYPE i,
v_lines_bin TYPE i.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZTESTFORM'
importing
fm_name = v_form_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
*CALL FUNCTION v_form_name
*EXPORTING
*control_parameters = w_ctrlop
*output_options = w_compop
*user_settings = 'X'
*IMPORTING
*job_output_info = w_return
*EXCEPTIONS
*formatting_error = 1
*internal_error = 2
*send_error = 3
*user_canceled = 4
*OTHERS = 5.
*IF sy-subrc 0.
*MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
*WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
*ENDIF.
*i_otf] = w_return-otfdata[.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Convert PDF from 132 to 255.
*LOOP AT i_tline.
Replacing space by ~
*TRANSLATE i_tline USING ' ~'.
*CONCATENATE w_buffer i_tline INTO w_buffer.
*ENDLOOP.
Replacing ~ by space
*TRANSLATE w_buffer USING '~ '.
*DO.
*i_record = w_buffer.
Appending 255 characters as a record
*APPEND i_record.
*SHIFT w_buffer LEFT BY 255 PLACES.
*IF w_buffer IS INITIAL.
*EXIT.
*ENDIF.
*ENDDO.
*Refresh: i_reclist,
*i_objtxt,
*i_objbin,
*i_objpack.
*clear w_objhead.
Object with PDF.
*i_objbin] = i_record[.
*DESCRIBE TABLE i_objbin LINES v_lines_bin.
Object with main text of the mail.
*i_objtxt = 'Find attached the output of the smart form.'.
*APPEND i_objtxt.
*i_objtxt = 'Regards,'.
*APPEND i_objtxt.
*i_objtxt = 'Surjith'.
*APPEND i_objtxt.
*DESCRIBE TABLE i_objtxt LINES v_lines_txt.
Document information.
*w_doc_chng-obj_name = 'Smartform'.
*w_doc_chng-expiry_dat = sy-datum + 10.
*w_doc_chng-obj_descr = 'Smart form output'.
*w_doc_chng-sensitivty = 'F'. "Functional object
*w_doc_chng-doc_size = v_lines_txt * 255.
Pack to main body as RAW.
Obj. to be transported not in binary form
*CLEAR i_objpack-transf_bin.
Start line of object header in transport packet
*i_objpack-head_start = 1.
Number of lines of an object header in object packet
*i_objpack-head_num = 0.
Start line of object contents in an object packet
*i_objpack-body_start = 1.
Number of lines of the object contents in an object packet
*i_objpack-body_num = v_lines_txt.
Code for document class
*i_objpack-doc_type = 'RAW'.
*APPEND i_objpack.
Packing as PDF.
*i_objpack-transf_bin = 'X'.
*i_objpack-head_start = 1.
*i_objpack-head_num = 1.
*i_objpack-body_start = 1.
*i_objpack-body_num = v_lines_bin.
*i_objpack-doc_type = 'PDF'.
*i_objpack-obj_name = 'Smartform'.
*CONCATENATE 'Smartform_output' '.pdf'
*INTO i_objpack-obj_descr.
*i_objpack-doc_size = v_lines_bin * 255.
*APPEND i_objpack.
Document information.
*CLEAR i_reclist.
e-mail receivers.
*i_reclist-receiver = "give the email address.
*i_reclist-express = 'X'.
*i_reclist-rec_type = 'U'. "Internet address
*APPEND i_reclist.
Sending mail.
*CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
*EXPORTING
*document_data = w_doc_chng
*put_in_outbox = 'X'
*TABLES
*packing_list = i_objpack
*object_header = w_objhead
*contents_hex = i_objbin
*contents_txt = i_objtxt
*receivers = i_reclist
*EXCEPTIONS
*too_many_receivers = 1
*document_not_sent = 2
*document_type_not_exist = 3
*operation_no_authorization = 4
*parameter_error = 5
*x_error = 6
*enqueue_error = 7
*OTHERS = 8.
*IF sy-subrc 0.
*MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.

Similar Messages

  • Unable to check-in, check-out and workflow videos in an Asset Library

    Hi All,
    This may seem like a silly question but I have yet to find anything official about why you cannot check in/out video files in an Asset Library or workflow them. We have an approval workflow in our publishing environment which works great and I'm able to
    check in/out and workflow images and even documents in an Asset Library but not Videos. We want videos to go through an approval process as well and I'm not talking about simple Content Approval, we want it to go through an approval workflow but check in/out
    is grayed out/disabled and of course we can't workflow the videos.
    I take it there must be some reason for this but I haven't been able to find an explanation. Any info you can provide me was to why this functionality is disabled would be appreciated.
    Kind regards,
    Lisa

    Hi Lisa, it appears to me that Video content type do not have checkIn/Out feature as it derived from folder CT. You can use document library to upload video using document content type and then checkIn/CheckOut. Hope this helps.
    [email protected]

  • Upgrade from 11i to R12 - Custom Forms,Reports and Workflows

    Dear Community Friends,
    We are planning for upgrade from oracle apps 11.5.10.2 to R12.
    We have custom Forms,Form Libraries,Reports and Workflows.
    Kindly provide me for approach on how to migrate Custom form libraries,reports and Workflows.
    I beleive, this thread will exists as one shot point for custom forms,reports,workflow upgradation from 11i to r12 with detailed steps.
    I know that many links exists here in the forum for all the above objects mentioned,but still from all those i am able to get a clear picture for oracle forms but not for custom form libraries ,reports and workflows.
    Also,this post will provide a low level,practical picture of the steps for those who are in line with this.
    Links i have read for all these in our forum are:
    For Custom Forms,
    Re: Planning to upgrade from 11i to R12
    Re: Custom forms: After upgrading 11i to R12
    ofcourse,'n' number of links exists providing metalink notes also.
    Hussain,Helios and some others also has given many updates regd this.
    For custom workflow upgradation,
    Upgrade Workflow 11i to R12
    Workflow Upgrade
    Workflow Upgrade
    For reports,links mentioned the below metalink notes:
    Do Not Compile EBS R12 Reports Using rwconverter.sh or Reports Builder from IDS 10gR2 [ID 786794.1]
    Using the OracleAS 10.1.2 Forms and Reports Builders with Oracle Applications Release 12 [ID 444248.1]
    Per my understanding, after searching in many threads,i am here by summarising the practical low level steps for custom forms migration
    Please correct me,if i am wrong.
    1) Download the Forms(.fmb's) and all PLL's(all the PLL from resource folder in AU_TOP) into a Local Machine Folder
    2) Open the forms using Forms Developer 10G and connect to DB
    3) Compile by clicking compilein Forms Developer and then save it.
    4) Upload the Saved Forms(.fmb's) into the new R12 server(system) in the respective custom paths(paths similar to 11i Server)
    5) Compile all the forms using the command like below(example command is shown below or f60 gen commands or frmcmp.sh utility) in the respective custom form paths,
    this will generate the .fmx's.
    frmcmp_batch module=FORMNAME.fmb userid=apps/apps output_file=FORMNAME.fmx compile_all=yes
    Link for compiling forms: https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=359210362972527&type=DOCUMENT&id=1085928.1&displayIndex=3&_afrWindowMode=0&_adf.ctrl-state=c348xvwbg_98
    6) Open the form and check in R12 instance
    As per my understanding for custom form libraries,we can just copy paste the PLL's from 11i server to R12 server (Please correct me,if i am wrong)
    Can anyone please help me out in custom reports and custom workflows.Sorry that,i could not get a practical and clear picture for reports and also for workflow even after referring many threads and metalink notes mentioned.
    As for reports,some says that Developer Suite 10g can be used and .rdf can be used in R12.
    Some says that reports should be converted to XML published as reports does not exists in R12.
    So,i am not clear on this.
    Thanks,
    Ganesh
    [email protected]

    Per my understanding, after searching in many threads,i am here by summarising the practical low level steps for custom forms migration
    Please correct me,if i am wrong.
    1) Download the Forms(.fmb's) and all PLL's(all the PLL from resource folder in AU_TOP) into a Local Machine Folder
    2) Open the forms using Forms Developer 10G and connect to DB
    3) Compile by clicking compilein Forms Developer and then save it.
    4) Upload the Saved Forms(.fmb's) into the new R12 server(system) in the respective custom paths(paths similar to 11i Server)
    5) Compile all the forms using the command like below(example command is shown below or f60 gen commands or frmcmp.sh utility) in the respective custom form paths,
    this will generate the .fmx's.
    frmcmp_batch module=FORMNAME.fmb userid=apps/apps output_file=FORMNAME.fmx compile_all=yes
    Link for compiling forms: https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=359210362972527&type=DOCUMENT&id=1085928.1&displayIndex=3&_afrWindowMode=0&_adf.ctrl-state=c348xvwbg_98
    6) Open the form and check in R12 instance
    As per my understanding for custom form libraries,we can just copy paste the PLL's from 11i server to R12 server (Please correct me,if i am wrong)You are right, and the steps mentioned above should be sufficient.
    Can anyone please help me out in custom reports and custom workflows.Sorry that,i could not get a practical and clear picture for reports and also for workflow even after referring many threads and metalink notes mentioned.
    As for reports,some says that Developer Suite 10g can be used and .rdf can be used in R12.
    Some says that reports should be converted to XML published as reports does not exists in R12.
    So,i am not clear on this.You can still use RDF files in R12, and just follow the approach you mentioned above, and you do not have to migrate them to XML publisher (though it is recommended, but this can be done after the upgrade as an enhancement task).
    For custom workflow, you need also to do the same thing, open them using workflow builder and make sure they work in R12 (correct the code if required and save them again in R12 once they work properly).
    Thanks,
    Hussein

  • Output post processors and workflow engines doesn't come up after cloning

    ours is a RAC+ASM+PCP -enabled
    host1 : DB+ Concurrents
    host1 : DB+ Concurrents
    host3 : WEB+FORMS+OC4J
    host4 : WEB+FORMS+OC4J
    We are suffering from an “empty entropy pool” within the JDBC driver. Basically, the driver will attempt to gather a random number from the pool, but if the pool is empty the driver will wait (sometimes indefinitely) for values to come in. In most installations, the default configuration has the pool being “filled” by numbers created through a user interface such as mouse movements. On our servers, we are typically in a “headless” configuration so the pool may not be replenished properly. I’m not sure why we are seeing this new issue, but since the random number generator is related to security, maybe a security enhancement from the OS upgrade has made this more sensitive.
    Note that QA4 is “mostly” up and running. The concurrent managers are started on both wpsun144 and wpsun154, but the output post processors and workflow engines are still having issues
    The ultimate solution is to add some form of “entropy gathering daemon” to keep the pool filled, but we will need the Unix Admin team’s help and some research to find the best solution. Apparently, in Solaris 10, there is a kernel-level “cryptographic framework” for adding/removing entropy sources.
    The workaround is to add a java option to the java command line. For Solaris this seems to work: “-Djava.security.egd=file:///dev/urandom”. This is NOT a reasonable solution since this requires modifying multiple delivered scripts/templates. I made the following changes only on wpsun144.
    First, for the context file I had to modify the “s_adjreopts” variable to add the above workaround (per doc 1066312.1).
    For adgentns this was fixed by modifying the $AU_TOP/perl/ADX/util/Java.pm file and adding the option. Here are the new lines in the file:
    if($javaCmd =~ /jre/) {
    return ("-mx256m -Djava.security.egd=file:///dev/urandom", 0);
    } else {
    return ("-Xmx512M -Djava.security.egd=file:///dev/urandom",0);
    After this change, adgentns completed successfully and both the “tnanames.ora” and “listener.ora” files were created in the $TNS_ADMIN location.
    For adgendbc, I had to manually modify the template for the script (there are 10 java command lines in the file).
    $AD_TOP/admin/template/adgendbc_ux.sh
    For txkExecSetJaznCredentials.pl, this file was modified:
    $FND_TOP/patch/115/bin/txkSetJaznCredentials.pl
    At this point, adcfgclone did finally complete successfully! Also adautocfg is now completing successfully!
    Some references:
    http://www.usn-it.de/index.php/2009/02/20/oracle-11g-jdbc-driver-hangs-blocked-by-devrandom-entropy-pool-empty/
    Oracle E-Business Suite Applications Technology Readme for Release 12.1.3 (R12.ATG_PF.B.delta.3, Patch 8919491) (Doc ID 1066312.1)
    Look for a section titled, “Attention: JDBC connections may time out during the upgrade process when random number generation is slow on machines with inadequate entropy.”
    Can some one help me on this.

    ours is a RAC+ASM+PCP -enabled
    host1 : DB+ Concurrents
    host1 : DB+ Concurrents
    host3 : WEB+FORMS+OC4J
    host4 : WEB+FORMS+OC4JPlease post the details of the application release, database version and OS.
    We are suffering from an “empty entropy pool” within the JDBC driver. Basically, the driver will attempt to gather a random number from the pool, but if the pool is empty the driver will wait (sometimes indefinitely) for values to come in. In most installations, the default configuration has the pool being “filled” by numbers created through a user interface such as mouse movements. On our servers, we are typically in a “headless” configuration so the pool may not be replenished properly. I’m not sure why we are seeing this new issue, but since the random number generator is related to security, maybe a security enhancement from the OS upgrade has made this more sensitive.
    Note that QA4 is “mostly” up and running. The concurrent managers are started on both wpsun144 and wpsun154, but the output post processors and workflow engines are still having issuesWhat is the error from the Workflow and OPP log files?
    The ultimate solution is to add some form of “entropy gathering daemon” to keep the pool filled, but we will need the Unix Admin team’s help and some research to find the best solution. Apparently, in Solaris 10, there is a kernel-level “cryptographic framework” for adding/removing entropy sources.
    The workaround is to add a java option to the java command line. For Solaris this seems to work: “-Djava.security.egd=file:///dev/urandom”. This is NOT a reasonable solution since this requires modifying multiple delivered scripts/templates. I made the following changes only on wpsun144.
    First, for the context file I had to modify the “s_adjreopts” variable to add the above workaround (per doc 1066312.1).
    For adgentns this was fixed by modifying the $AU_TOP/perl/ADX/util/Java.pm file and adding the option. Here are the new lines in the file:
    if($javaCmd =~ /jre/) {
    return ("-mx256m -Djava.security.egd=file:///dev/urandom", 0);
    } else {
    return ("-Xmx512M -Djava.security.egd=file:///dev/urandom",0);
    After this change, adgentns completed successfully and both the “tnanames.ora” and “listener.ora” files were created in the $TNS_ADMIN location.If you are on R12, please see these docs (search for "Djava.security.egd").
    Oracle E-Business Suite Applications Technology Readme for Release 12.1.3 (R12.ATG_PF.B.delta.3, Patch 8919491) [ID 1066312.1]
    Oracle E-Business Suite Release 12.1.3 Readme [ID 1080973.1]
    For adgendbc, I had to manually modify the template for the script (there are 10 java command lines in the file).
    $AD_TOP/admin/template/adgendbc_ux.sh
    For txkExecSetJaznCredentials.pl, this file was modified:
    $FND_TOP/patch/115/bin/txkSetJaznCredentials.pl
    Can some one help me on this.Are you trying to avoid manual changes? If yes, please make sure you have all the patches mentioned in the docs referenced above applied and you have all the necessary configuration/setup.
    Thanks,
    Hussein

  • Difference between Business Process and Workflow

    Hi all,
    What is the difference between Business Process and Workflow? i have googled it and I don't really understand that complicated definition? Is there any examples to illustrate the difference between the both?

    Hi,
    I will try to put here , my perspective of this. If somebody knows better, they can update further on this.
    Business process is purely on the perspective of the users. It may or maynot have anything to do with the system. When a draw a business flow diagram, we dont take care of how each and every process is handled in the system. The best illustration is an example of authorisation.
    Let me say that I create a Purchase requisition. Once it is released a PO will be created by procurement managerD
    This is a business process. However if we look at the system perspective, it can be like this.
    1. Create a PR.
    2. Check the value of the PR
    3. If value <$100,an email needs to be send to person A, if it is $100 to 300$, an email should be send to person B and if >$300, an email should be send to B and C.
    4.Once it is released, an email shoudl be send to D for creating a PO on this PR.
    Here not only the process, but also how the work is delegated across  various entities of the process is mentioned.
    There are softwards like VISIO which actually take care of the business process in the perspective of the entities involved in the process. A workflow is a moredetailed version of business process with the roles of entities clearly defined and hence configured well in the system.
    The concept is workflow is mostly used in the processes of authorisations, business activity monitoring(BAM), etc.
    Hope I make it little clear to you.
    You can reward if my response is of some help to you

  • Digital Signature and workflow functionality in Enh Pack

    We are working in ECC 6.0 environment. Recentaly we have activated Enh Pack 3 and 4 in our system. After that I can couple of additional QM functionality in system. SAP has provided few more settings in SPRO to activate digital signature in QN and workflow in standard peace.
    I would be wonder if anyone has used those function in standard system without any custom development.
    How can we use/ activate those (digital signature for QN and workflow) functionality? Reply appreciated.

    SAP IMG > Quality Management> Quality Notifications> Notification processing> Specify Digital Signature
    Give details like
    Level -Header /Task Notification Type
    Business  
       Transaction
    Signature Type
    Strategy
    Enter the Business Transaction: like PMM2 for Put notification in process,PMM4 for Complete notification,     QN40 for Release Task etc
    Depending on your configuration systems asks for digital  signature when you set header level status or Task level status
    Means if u set Digital signature for PMM2 for Put notification in process system prompts for Digital siganture.
    Regards
    Nitin

  • Develop Form and Workflow in SharePoint Online and On-Premise

    Hi Expert,
    I have the question about Form and Workflow in SharePoint Online vs ShrePoint On-Premise
    Current Problem : Customer is implemented Form and Workflow in SharePoint Online but they have a problem some features that didn’t work in SharePoint Online. I will have a meeting to discuss Do and Don’t Form and Workflow in SharePoint Online compare SharePoint
    On-Premise.
    Please suggestion.
    Thank you

    Hi MasterBird,
    There is no documentation to explain the difference of the custom form and workflow between SharePoint Online and SharePoint On-Premise. For your issue, you can have a look at the following blog:
    http://www.techrepublic.com/blog/the-enterprise-cloud/get-infopath-forms-and-sharepoint-online-with-office-365/
    https://support.office.com/en-us/article/Office-365-known-issues-6b380978-84ce-49af-be5d-f7cda0fe28f9?ui=en-US&rs=en-US&ad=US#__sharepoint_online_preview
    https://support.office.com/en-in/article/Configure-InfoPath-Forms-Services-a8609546-c0d7-4956-81b6-08e93eb4b290?ui=en-US&rs=en-IN&ad=IN
    http://blog.sharepointlearn.com/2011/11/03/sharepoint-in-office-365-the-good-the-bad-the-brilliant-and-the-ugly/
    Thanks,
    Eric
    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]
    Eric Tao
    TechNet Community Support

  • Form and Workflow in SharePoint Online vs SharePoint On-Premise

    Hi Expert,
    I have the question about Form and Workflow in SharePoint Online vs ShrePoint On-Premise
    Current Problem : Customer is implemented Form and Workflow in SharePoint Online but they have a problem some features that didn’t work in SharePoint Online. I will have a meeting to discuss Do and Don’t Form and Workflow in SharePoint Online compare SharePoint
    On-Premise.
    Please suggestion.
    Thank you

    Hi MasterBird,
    For SharePoint 2013 On-premise, we can :
    Comlete control of our environment and data
    Supports heavy customization
    Keep sensitive information in-house
    Easier integration into line of business systems
    Full development options for developers
    For SharePoint Online workflow:
    Workflow 2010 & 2013 are available with Standard and Enterprise Editions without having to install
    If using Windows Azure workflow functionality is the same as 2013
    Cannot create custom Visual Studio workflows
    For InfoPath Form Services you will need Office 365 Enterprise Could Edition or SharePoint Online Plan 2
    More information, please refer to the video:
    http://www.youtube.com/watch?v=eNtCH3qOk2g
    Best Regards,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

  • WorkFlow get triggered even if we set trigger for item update with SPEmailEventReceiver and workflow attached to same Library

    Hi All,
               I have a situation, SPEmailEventReceiver and WorkFlow is attached to same library, WorkFlow is configured to run after item is updated, but soon as the email is received in library the workflow
    is getting triggered, We have a action to create folder with subject and date and put the attachment with the date folder in SPEmailEventReceiver e.g: once a mail is received in library the SPEmailEventReceiver will create a folder with Subject and then Folder
    with Date and then put the attachment in the date folder so hierarchy will be subject folder/Date folder/attachment
    I have tried to alter the SquenceNumber attribute in Feature Element file to 1 and make the Synchronization as synchronous but no luck.

    Hi,
    Here are some articles for your reference:
    Programmatically creating Folders within SharePoint List
    http://www.mindfiresolutions.com/Programmatically-creating-Folders-within-SharePoint-List-487.php
    How to use SPEmailEventReceiver?
    http://kkryczka.wordpress.com/2010/11/05/how-to-use-spemaileventreceiver/
    Attachments disappear with custom email event handler
    http://blogs.msdn.com/b/malag/archive/2009/05/13/attachments-disappear-with-custom-email-event-handler.aspx?PageIndex=2
    Thanks,
    Dennis Guo
    TechNet Community 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]
    Dennis Guo
    TechNet Community Support

  • Lightroom Metadata editing and workflow is tedious nightmare!

    I'm new to Lightroom in just the past month, but have used it enough to see that a serious interface problem makes Lightroom version 1x virtually unusable in a deadline-oriented publishing workflow. Lightroom's Metadata editing and workflow is just a terrible nightmare, and far too tedious and slow. It appears to be an afterthought implemented by good-hearted souls who've never had to edit this sort of information under serious deadline pressures. I know Lightroom is marketed as an image database and not a file browser, but we're all looking to simplify our workflow here and with just a few subtle enhancements, Lightroom could be an excellent file browser and file import manager too.
    As it is now, the Lightroom v1x handling of File Naming and Renaming, Metadata Editing and Keyword Editing is poorly implemented and in need of an immediate overhaul to help professional photographers expedite this crucial and time-consuming first step in the archiving workflow. While Lightroom is very good at many other tasks, I give it a big fat "F" of a failing grade for these tasks.
    First, the Lightroom Library Module needs an even more simple, linear interface that steps users through a precise procedures (and helps them remember them). Arguably, to accomplish this, the Import function may need to become a separate Module that can be selected and used separately before entering the Library. As File Naming and Renaming, Metadata Editing and Keyword Editing currently are implemented, I, for one, am always forgetting to fill out one of these critical sections and can't even seem to remember that some may need to be done before importing while others appear to be conceived to be done after importing. My point is, all these related steps really need to be done together, but the Interface spreads out the functions too much, and it is nearly impossible to build a logical and linear Import workflow, especially when you are first learning Lightroom.
    I'd like to see a workflow that walks me through applying and editing (in order), File Naming, Basic and IPTC Metadata, Captioning and Keywords, so that I don't always forget some obscure step in the process (which I keep doing). Here are some specific suggestions, some of which may prove to be valid, some of which may be problems due to my lack of experience with thye software.
    1. As currently implemented, Metadata editing requires too much thought, and does not have enough intelligent automation. Eliminate as much typing as possible (See Photo Mechanic!)
    2. Lightroom needs better Metadata Presets. A "Quick Edit" view to simplify interface for editing minimal metadata info (File Name, Basic Info, Keywords, Headline, Limited Copyright Info).
    3. Separating Keyword Tags, Metadata Browser, Keywording Presets and Metadata Presets confuses the workflow. They should all appear together under one selectable module that organizes a suggested, linear workflowfor these tasks, but allows it to be customized. This is the sort of tasks that need to be learned by rote memory, and having all these panes floating around on both sides of the photo make it impossible to quickly step through these tasks.
    - Name (or Rename) files, Edit/Apply Basic and IPTC Metadata, Edit/Apply Keywords, Import or...
    - Import, Name (or Rename) files, Edit/Apply Basic and IPTC Metadata, Edit/Apply Keywords, Import
    4. Rename should offer the option of renaming the master file names on the disk, not just file names in the database (which I think is what Lightroom does, but again, this is very confusing for new users)! So, it is my belief that this feature needs a checkbox option to rename one, the other or both. But you need to be able to quickly find this dialog box every time you do an import, and it should not be hidden away out of view under the Library menu. Ideally and logically (for workflow), File Renaming should be handled when starting the Import into Lightroom.
    This is critically important because many user

    Lightroom metadata editing Part 2 (see Part 1 at top of thread)...
    ...This is critically important because many users just do not want to trust their images solely to any database and we want the ability to go look for master files with identical names should something go wrong with the software or we decide to edit the file in Photoshop outside of Lightroom or even switch to another library software program.
    My own habit is to rename every file with the date followed by a unique, three-digit file number, as in 20070717_001, 20070717_002...up to 999 etc. (I have never shot more than 999 files in a single day, but this could be a four-digit number). To file these on disk, a folder with a similar naming scheme is created for each day's shoot, although a keyword slug is added to the end instead of file numbers.
    5. Metadata Presets (Basic Info, IPTC metadata, EXIF metadata), Keywords need to be able to toggled on or off (promote/demote-expand/contract). Turning Off/On one section at a time via the Metadata Presets popup menu is too tedious...and you can't display IPTC and Large Caption together or leave Large Caption turned on. It also is difficult to remember where the Large Caption default (Preferences) setting is...
    6. Please get the EXIF data out of the way entirely when editing captions and visa-versa...And the EXIF data should not separate Basic Info and IPTC Info fields. Please relocate the EXIF to the bottom of the Metadata pane...
    7. IPTC Content, IPTC Copyright, IPTC Creator, IPTC Image expand/collapse sections need more automation:
    - The Presets fields need Preset lists of entry choices for cities, states, countries, etc.!
    - ISO Country Code automatically should be filled in when a country is entered.
    - Date created automatically should be filled in from camera EXIF data
    - Metadata Presets "Save As" should fill in old name, and allow you to rename it; (When it appears, the new name field should not be empty. This would aid in consistent, alphabetical naming
    - Metadata Presets naming should support job names, with actual Presets saved under each job name...
    8. IPTC Status EXIF, Contact, etc.
    - Caption field MUST display more than one line...(6-8 lines)!
    - Caption field MUST support Shift/Return!
    - Headline (IPTC Content) should be displayed with (and above) caption. Please present information logically!
    - Yellow popups should describe what each field name is for...some are real brain teasers...

  • Linking between organizational unit and workflow

    Hi
    I have created my organizational unit and workflow.
    Can anyone tell me how to link workflow with organizational unit?

    Hi Azra,,,
             You can link oraganisational unit and workflow by specifying the  organization unit name in the task screen.....
               Assgin values:
             Recipient type = organisational object.
             Then Select Position from Drop down list and then select the
             organisational number with f4 help.
    Simillarly assing the abbrevation of the task of workflow to the Oranisational
    plan position.
    If answer is suitable do give points.
    Thanx ....
    Mandeep      .....

  • OAI and Workflow - Setting Attributes to use in Notifications

    Does anyone know how I go about getting at attributes in a message that goes through the Workflow Adapter?
    What I am trying to do is to create a notification, which is more meaningful by adding some of the details I've passed through in the PARAMETER_LIST attributes of the Workflow message.
    Any ideas?
    Ian

    Kavitha,
    I've managed to do it, but using a simpler method (I think).
    In iStudio
    My Common View contains the attributes as follows:-
    EMPLOYEE_NUMBER (String)
    START_DATE (Date)
    LAST_NAME (String) and
    FIRST_NAME (String)
    My subscribing Workflow Event maps these Common View values into the PARAMETER_LIST array in the Workflow message. The mappings are as follows:-
    PARAMETER_LIST[v1].NAME=SetConstant (EMPLOYEE_NUMBER, "EMPLOYEE_NUMBER")
    PARAMETER_LIST[v1].VALUE=CopyFields (EMPLOYEE_NUMBER)
    PARAMETER_LIST[v2].NAME=SetConstant (START_DATE, "START_DATE")
    PARAMETER_LIST[v2].VALUE=CopyFields (START_DATE)
    PARAMETER_LIST[v3].NAME=SetConstant (LAST_NAME, "LAST_NAME")
    PARAMETER_LIST[v3].VALUE=CopyFields (LAST_NAME)
    PARAMETER_LIST[v4].NAME=SetConstant (FIRST_NAME, "FIRST_NAME")
    PARAMETER_LIST[v4].VALUE=CopyFields (FIRST_NAME)
    I also created the publishing Workflow Event. To get the values out of the PARAMETER_LIST array, I simply used the 'TrueConditionalCopy' transformation. For example,
    EMPLOYEE_NUMBER=TrueConditionalCopy (PARAMETER_LIST[v1].NAME, PARAMETER_LIST[v1].VALUE, "EMPLOYEE_NUMBER")
    In Workflow Builder
    I created 4 additional ATTRIBUTES in the Workflow:-
    EMPLOYEE_NUMBER_ATT (Type - Text)
    START_DATE_ATT (Type - Text)
    LAST_NAME_ATT (Type - Text) and
    FIRST_NAME_ATT (Type - Text)
    I then created my MESSAGE (Called 'Approve Update Employee'). I added 4 new MESSAGE ATTRIBUTES to this message:-
    EMPLOYEE_NUMBER (Type - Text, Default Type - Item Attribute, Value - EMPLOYEE_NUMBER_ATT)
    START_DATE (Type - Text, Default Type - Item Attribute, Value - START_DATE_ATT)
    LAST_NAME (Type - Text, Default Type - Item Attribute, Value - LAST_NAME_ATT)
    FIRST_NAME (Type - Text, Default Type - Item Attribute, Value - FIRST_NAME_ATT)
    In the Message Body I used the '&EMPLOYEE_NUMBER' notation to bring back the values into the message when the Workflow runs. For example, "This message has been created to tell you that Employee &EMPLOYEE_NUMBER has changed some details. Details are First Name is &FIRST_NAME, Last Name is &LAST_NAME and their start date is &START_DATE. Please Approve or Reject this change by using the buttons below."
    In the Workflow Diagram
    After the START node (Subscribe Maintain_Employees.Update_Employees) I added a series (4 in all) of "Get Event Property" Standard Workflow functions (GETEVENTPROPERTY) in order to find out the values from my parameter list.
    As an example, here is the one I did to get the Employee Number.
    In the 'Node Attributes' tag (when you double-click on the "Get Event Property") set the values as follows:-
    Name = Event, Type = Item Attribute, Value = OAI Message
    Name = Property, Type = Constant, Value = Event Parameter
    Name = Event Parameter, Type = Constant, Value = EMPLOYEE_NUMBER
    Name = Item Attribute, Type = Constant, Value = EMPLOYEE_NUMBER_ATT
    (Note that the 'Event Parameter' is the name you set it to when you did the SetConstant mapping i.e. EMPLOYEE_NUMBER. The 'Item Attribute' is the target ATTRIBUTE that the result of calling the GETEVENTPROPERTY will be put.)
    I finished off the Workflow by creating a NOTIFICATION called 'Update Employee Notification' which uses the 'Approve Update Employee' message, and added the Result Type of 'Approval'.
    If the message is APPROVED, then the workflow calls the Publish Event (END node type), if REJECTED then the Workflow goes to an END node (and not processed any further).
    My Workflow looks like this.
    START (Subscribe Maintain_Employees.Update_Employees)
    GETEVENTPROPERTY (to get EMPLOYEE_NUMBER_ATT value)
    GETEVENTPROPERTY (to get START_DATE_ATT value)
    GETEVENTPROPERTY (to get LAST_NAME_ATT value)
    GETEVENTPROPERTY (to get FIRST_NAME_ATT value)
    Update Employee Notification --&gt; REJECTED --&gt; END
    APPROVED
    END (Publish Maintain_Employees.Update_Employee)
    I'm not sure whether this is a good approach or not. The biggest upside is that I didn't have to do any additional coding. I only used standard OAI and Workflow functionality.
    Thanks again for your help.
    Ian

  • First Java Project - Document Management and Workflow

    We are about to embark on our first java project around document management and workflow.
    I would be interested to know how others have approached similar projects – Open Source applications or other tools/APIs.
    It would also be good to know of any issues encountered along the way.
    Thanks,
    Steve

    Hi Husein,
    I appreciate your interest in procuring a Document Management/Workflow solution for your AP department...its a very smart move toward streamling that process!
    I sent an email today to Richard Braddock about our solutions. I would be happy to discuss them with you.
    My office phone number is 215-646-8000
    -Martin

  • Rename "BPM and Workflow" forum to "SAP Business Workflow"

    G'Day,
    99% of posts in the [BPM and Workflow|SAP Business Workflow; forum deal with SAP Business Workflow. It was originally intended for ccBPM which - though they share some underlying architecture - is basically XI / PI.
    A few ccBPM posts occasionally appear in the WF forum, but they are generally not answered and more appropriate in XI. These days I usually move them to XI when it's clear that the 'local' population won't answer it.
    So to avoid confusion for people I propose to rename the forum to SAP Business Workflow or at least something that doesn't confuse it with XI.
    Any input welcome.
    Cheers,
    Mike

    Hi Mike,
    Well, you probably already know what I think ;).
    If there is little to no traffic for BPM, then let's call the forum what it is, SAP Business Workflow - Or Workflow and Guided Procedures? 
    Sidebar: I posted a question to various forums a few weeks ago, regarding 'How can SAP, and ASUG WF/BPM serve you better'.  I am summarizing the responses I got below, in hopes that it helps guide you in your quest.  The names have been excluded to protect the identities, but I think there is some very valuable info in here.  Particularly the final point - which I will follow up on with the respondent.
    Anyway, you didn't ask for it, but here it is.
    > 1. Have you attended any webcasts related to SAP lately?
    No. Not lately, and not ever. (I suppose I am old-fashioned...)
    > 2. Are there any topics related to Workflow and BPM that you think are
    > important for the 'community'?
    Integrating workflows and guided procedures - e.g. enhancing existing workflows to use browser interfaces.
    > 3. Looking ahead a year, what do you see as challenges in this area?
    Processes that can be executed either in R/3 or in browsers, with information about the process progress etc, as in Guided Procedures. This will probably be the developers nightmare for the next few years.
    1. Have you attended any webcasts related to SAP lately?
    -yes I did - quite a few, but mostly on web related stuff and XI.
    2. Are there any topics related to Workflow and BPM that you think are important for the 'community'?
    - personally for me, I still find the guided procedure in Portals not so user friendly and limited. I think more education and influence around GP will be great. I think the community will also appreciate it.
    3. Looking ahead a year, what do you see as challenges in this area?
    - GP and UWL. I think the concept of "IT doing the first time and the business managing their rules" would be challenging. I have not yet seen this happen, especially on the logistics side. There is a session this year on the same topic at TechEd and I look forward to this session. Hopefully it will help us get some insight.
    Right now I am struggling with even getting Workflow off the ground and getting the business to understand what Workflow is and trying to have them budget for it. Workflow is still new to the functional group and even getting them to consider Workflow verse alternatives is somewhat of a challenge. I really have had a great consultant that has taken me under his wing and taken the time to teach me. I think we would be a great story for a presentation.
    My challenges for the next year, is how to get over the hump of selling workflow to the business and actually getting projects planned out. I don't know if anyone has an anwer to that one. My other challege is how to handle transfer of knowledge and maintaining workflow that has been built by consultants.
    1)  I have not attended many SAP webcasts (just one on Solution Manager in the past few months)  I'm planning on attending one this comming Monday on BPM.
    2) I think understanding UWL / SBWP differences, advantages, limitations on one vs the other, would be an important topic.   Also more information on Extended Notiications
    3) Challenges: Upgrades and impact on WF,  Unicode and WF and having more WF ABAP OO objects delivered by SAP, other than the "Absence Notification" sample.
    1.       I havenu2019t personally attended but as a company we give a webinar once a week and weu2019ve had some great attendance
    2.       Technically I think weu2019re OK. We see the need to tell C-level execs where workflow / BPM can help them in businessu2026.
    _3.       Workflow is becoming more and more obscure in the SAP landscapeu2026

  • Is there any certification exam only related to workflow and workflow/cross

    Is there any certification exam only related to workflow and workflow/cross apps

    Hi KR,
    to my knowledge SAP has stopped certifications for WF.
    But Please check on sap.com
    Aditya

Maybe you are looking for

  • Best Practices for SRM Installation !!

    Hi     can someone share the best Practices for SRM Installation ? What is the typical timeframe to install SRM on development server and as well as on the Production server ? Appericiate the responses Thanks, Arvind

  • Is there an easy way to reimport all songs in my itunes folder?

    This may sound like a weird question but here goes... When I bring up my iTunes I have 8731 files (mostly music) that come to about 41.33G's but when I right click on my iTunes Music folder and select properties there are 8809 files and a total of 48

  • I have adobe design std. 6 i wanted to install photoshop and acrobat pro on my windows xp sp3

    i have adobe design std. 6 i wanted to install photoshop and acrobat pro on my windows xp sp3. i am not able to install acrobat it is showing folowing error. my email id is [email protected] Exit Code: 6 Please see specific errors and warnings below

  • Re: x505 - "turn off the display" not working correctly

    To make a long story short, I was having a boatload of problems with my Toshiba Qosmio X505. I spoke to tech support and they had me reinstall the OS and completely wipe the computer. All has been well for days until today! For some reason every time

  • Controlling the changing of fonts during iPad import

    Keynote for Mac has a font called Chaulkboard which is the default font in the Blackboard template.  Unfortunately in converts to a font called Chaulkduster on the iPad which is wholly unacceptable.  However, the iPad version of Keynote does offer a