Regarding workflow Script (wfretry)

Guys
While running wfretry.sql its asking
Enter value for 1:
Enter value for 2:
Select from list of error activities for this what should i give and
Label:
SKIP, RETRY or RESET activity?
Command:
Result of activity if command is SKIP
Result:
if i select reset what will happend
how to find wf item type and key for one table,
Thanks

Here Wfretry basically call for workflow engine by passing item key and type as a parameter. Here what exactly work flow do for different label.
SKIP : skip the approval required from current approver and forward the document to immidiate supervisor in hirercy.
RETRY : Send document to work flow engine for approval once again if got stuck.
RESET : bring document to its orginal state from where it started of.

Similar Messages

  • SAP Business one Workflow Script writing

    Hi experts,
    i will gladly appreciate help from all who can assist me with a detailed material on writing scripts to help generate a good workflow for SAP business one processes.
    i have read some materials on SAP workflow but the examples worked on are not detailed and does not show a beginner on how to start a script well.
    A detailed material to help me achieve this goal will be much appreciated, either videos or reading materials.
    Please urgent help is needed.
    Any expert in workflow script writing should assist me.
    Regards,
    Justice

    any updates?
    Have you got any documents related to script writing in workflow?
    Thanks in advance,

  • Regarding Workflow condition

    Hello,
    i need help regarding workflow condition..
    When the Owner of the record gets changed to a specific user i want to create a set of tasks automatically created,.. is it possible using workflows, if possible what is the trigger event i have to use and what is the workflow condition.. please help me out its very urgent

    Hi again,
    i have used the following:
    Trigger Event : when modified record saved
    Condition : FieldValue('<Owner>') = "Jenny Adams"
    and created list of actions for creating tasks.. but i think there is problem with condition.. please help me with condition.. i also tried
    [<Owner>]='Jenny Adams'
    [<Owner>]="Jenny Adams"
    FieldValue('<Owner>') = 'Jenny Adams'

  • Regarding Workflow - eApprovel mail

    Hello Experts,
    I am new at SAP workflow..
    This is regarding Workflow issue,
    before upgradation (4.6 to 6.0) means in 4.6,
    prior to upgrade the eApproval mail showed the approver and the status of PO in the approval cycle like below
    Vendor : vendor name
    Approval log               Date       Status
    Scott Loyet              11/01/2007   Approve
    Scott Loyet                                Pending approval
    001  Supplier Portal Support/Functional           10,000  EA         1.00  USD
    now after upgradation (in 6.0)
    eApproval mail message is only showing the PO number and the PO line items
    At present the workflow mail does not contain the current status of the PO
    means it showing like this
    001  Contract Investigations                      75,000  EA         1.00  USD
    002  Contract Investigations                      30,000  EA         1.00  USD
    At present the workflow mail does not contain the current status of the PO,
    can you please tell me what needs to be done and what changes to be made...in 6.0,can you please help me on this

    hello experts,
    can you please help me on this...please...
    Thanks and regards
    Durga.K

  • Help regarding SAP SCRIPT

    Hi!
      can any one help me regarding SAP SCRIPT. i unable to write a print program for sap script . can any one can send me sample code using ITCSY structure.
    Thanks in advance.
    Thanks & Regads,
    DurgaPrasad.k

    Hi,
    refer this to write print program:
    <b>The Print Program</b>
    Structure of a print program
    OPEN_FORM function
    CLOSE_FORM function
    WRITE_FORM
    START_FORM function
    END_FORM function
    CONTROL_FORM function
    The print program is used to print forms. The program retieves the necesary data from datbase
    tables, defines the order of in which text elements are printed, chooses a form for printing and
    selects an output device and print options.
    <b>Function modules in a printprogram:</b>
    When you print a form you must used the staments OPEN_FORM and CLOSE_FORM. To combine
    forms into a single spool request use START_FORM and END_FORM.
    To print textelements in a form use WRITE_FORM. The order in which the textelements are printed,
    is determined by the order of the WRITE_FORM statements. Note: for printing lines in the body, you
    can also use the WRITE_FORM_LINES function module.
    To transfer control command to a form use CONTROL_FORM.
    <b>Structure of a print program</b>
    Read data
    Tables: xxx.
    SELECT *
    FROM xxx.
    Open form printing - Must be called before working with any of the other form function modules.
    Must be ended with function module CLOSE FORM
    call function 'OPEN_FORM'.....
    To begin several indentical forms containing different data within a single spool request, begin each
    form using START_FORM, and end it using END_FORM
    call funtion 'START_FORM'.....
    Write text elements to a window of the form
    call function 'WRITE_FORM'.....
    Ends spool request started with START_FORM
    call funtion 'END_FORM'.....
    Closes form printing
    call function 'CLOSE_FORM'...
    OPEN_FORM function
    Syntax:
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
      APPLICATION                       = 'TX'
      ARCHIVE_INDEX                     =
      ARCHIVE_PARAMS                    =
      DEVICE                            = 'PRINTER'
      DIALOG                            = 'X'
      FORM                              = ' '
      LANGUAGE                          = SY-LANGU
      OPTIONS                           =
      MAIL_SENDER                       =
      MAIL_RECIPIENT                    =
      MAIL_APPL_OBJECT                  =
      RAW_DATA_INTERFACE                = '*'
    IMPORTING
      LANGUAGE                          =
      NEW_ARCHIVE_PARAMS                =
      RESULT                            =
    EXCEPTIONS
      CANCELED                          = 1
      DEVICE                            = 2
      FORM                              = 3
      OPTIONS                           = 4
      UNCLOSED                          = 5
      MAIL_OPTIONS                      = 6
      ARCHIVE_ERROR                     = 7
      INVALID_FAX_NUMBER                = 8
      MORE_PARAMS_NEEDED_IN_BATCH       = 9
      SPOOL_ERROR                       = 10
      OTHERS                            = 11
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    <b>Some important parameters:</b>
    FORM Name of the form
    DEVICE PRINTER : Print output using spool
    TELEFAX: Fax output
    SCREEN: Output to screen
    OPTIONS Used to control attrubutes for printing or faxing (Number of copies, immediate output....
    The input for the parameter is structure ITCPO.
    CLOSE_FORM function
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
    TABLES
      OTFDATA                        =
    EXCEPTIONS
      UNOPENED                       = 1
      BAD_PAGEFORMAT_FOR_PRINT       = 2
      SEND_ERROR                     = 3
      SPOOL_ERROR                    = 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.
    Paramerters:
    RESULT Returns status information and print/fax parameters after the form has been printed.
    RESULT is of structure ITCPP.
    WRITE_FORM function
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
      ELEMENT                        = ' '
      FUNCTION                       = 'SET'
      TYPE                           = 'BODY'
      WINDOW                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      OTHERS                         = 9
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Some important parameters:
    ELEMENT Specifies which textelement is printed
    WINDOW Specifies which window is printed
    TYPE Specifies the output area of the main window. This can be:
    TOP - Used for headers
    BODY
    BOTTOM - Used for footers
    FUNCTION Specifies whether text is to be appended, replaced or added
    Example of how to use the WRITE_FORM function module together with a script.
    Form layout of the MAIN window
    /E INTRODUCTION
    Dear Customer
    /E ITEM_HEADER
    IH Carrier, Departure
    /E ITEM_LINE
    IL &SBOOK-CARRID&, &SPFLI-DEPTIME&
    /E CLOSING_REMARK
    <b>The print program</b>
    Writing INTRODUCTION
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT                  = 'INTRODUCTION'
    FUNCTION                 = 'SET'
    TYPE                     = 'BODY'
    WINDOW                   = 'MAIN'
    EXCEPTIONS
    OTHERS                   = 8
    Writing ITEM_HEADER
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT                  = 'ITEM_HEADER'
    FUNCTION                 = 'SET'
    TYPE                     = 'BODY'
    WINDOW                   = 'MAIN'
    EXCEPTIONS
    OTHERS                   = 8
    Set ITEM_HEADER into TOP area of main window for subsequent pages
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT                  = 'ITEM_HEADER'
    FUNCTION                 = 'SET'
    TYPE                     = 'TOP'
    WINDOW                   = 'MAIN'
    EXCEPTIONS
    OTHERS                   = 8
    Write ITEM_LINE
    LOOP AT .....
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT               = 'ITEM_LINE'
    FUNCTION              = 'SET'
    TYPE                  = 'BODY'
    WINDOW                = 'MAIN'
    EXCEPTIONS
    OTHERS                 = 8.
    ENDLOOP.
    Delete ITEM_HEADER from TOP area of main window
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT                  = 'ITEM_HEADER'
    FUNCTION                 = 'DELETE'
    TYPE                     = 'TOP'
    WINDOW                   = 'MAIN'
    EXCEPTIONS
    OTHERS                    = 8
    Print CLOSING_REMARK
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT                  = 'CLOSING_REMARK'
    FUNCTION                 = 'SET'
    TYPE                          = 'BODY'
    WINDOW                   = 'MAIN'
    EXCEPTIONS
    OTHERS                    = 8
    START_FORM function
    CALL FUNCTION 'START_FORM'
    EXPORTING
      ARCHIVE_INDEX          =
      FORM                   = ' '
      LANGUAGE               = ' '
      STARTPAGE              = ' '
      PROGRAM                = ' '
      MAIL_APPL_OBJECT       =
    IMPORTING
      LANGUAGE               =
    EXCEPTIONS
      FORM                   = 1
      FORMAT                 = 2
      UNENDED                = 3
      UNOPENED               = 4
      UNUSED                 = 5
      SPOOL_ERROR            = 6
      OTHERS                 = 7
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    END_FORM function
    CALL FUNCTION 'END_FORM'
      RESULT                         =
    EXCEPTIONS
      UNOPENED                       = 1
      BAD_PAGEFORMAT_FOR_PRINT       = 2
      SPOOL_ERROR                    = 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.
    CONTROL_FORM function
    The CONTROL_FORM function module alows you to create SapScript control statements from within
    an APAB program.
    Syntax:
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    command         =
    EXCEPTIONS
      UNOPENED        = 1
      UNSTARTED       = 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.
    Example:
    Protecting the text element ITEM_LINE
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    COMMAND = 'PROTECT'.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    TEXELEMENT = 'ITEM_LINE'.
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    COMMAND = 'ENDPROTECT'.
    rgds,
    latheesh
    Message was edited by: Latheesh Kaduthara

  • Another powershell workflow script will run in powershell ISE but no powershell command prompt.

    Hi,
    Im having some issue with a few powershell workflow scripts that will work in powershell ISE but they will appear to not run in a Admin powershell command prompt session.
    The script is simple.
    Workflow NewUser
        Param (
                [Parameter(Mandatory=$True)]
                [string] $givenname,
                [Parameter(Mandatory=$True)]
                [string] $surname,
                [Parameter(Mandatory=$True)]    
                [string] $template
        "Param1 = $givenname"
        "Param2 = $surname"
        "Param3 = $template"
    The saved file name is NewUser.ps1.
    When I run .\NewUser.ps1 -givenname test -surname test -template test
    Nothing happens.   In Powershell ISE, it outputs
    Param1 = test
    Param2 = test
    Template = test
    I can run .\NewUser.ps1 skdjfsdkfjsdkfjsdkfj in powershell command
    and nothing happens.
    I notice this behavior with a number of scripts that I get working with ISE and they dont work in powershell command prompt. 
    We are using Powershell 4.0
    Thanks Lance

    When I run
    Set-psdebug -step
    then newuser.ps1 -givename test -surname test -template test
    it gets to the line workflow newuser and quits
    am I missing some dependency?
    Running  [System.Threading.Thread]::GetDomain().GetAssemblies() in powershell commmand returns the following.
    GAC    Version        Location                                                                                       
    True   v4.0.30319     C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll                                   
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.ConsoleHost\v4.0_3.0.0.0__31bf...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll      
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.C...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\Syst...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xm...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d5...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\Sy...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__3...
    False  v4.0.30319                                                                                                    
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration.Install\v4.0_4.0.0.0__b03f5f7f...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\Sy...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Security\v4.0_3.0.0.0__31bf385...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Activities\v4.0_3.0.0.0__31bf3...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\Sy...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Workflow.ServiceCore\v4.0_3.0....
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities.Presentation\v4.0_4.0.0.0__31bf38...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e3...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsB...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\Prese...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.X...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Core.Activities\v4.0_3.0.0.0__...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Diagnostics.Activities\v4.0_3....
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Management.Activities\v4.0_3.0...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Security.Activities\v4.0_3.0.0...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Utility.Activities\v4.0_3.0.0....
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.WSMan.Management.Activities\v4.0_3.0.0.0_...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.DurableInstancing\v4.0_4.0.0.0__31bf...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf385...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Dat...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Commands.Utility\v4.0_3.0.0.0_...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\Syst...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Mic...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Commands.Management\v4.0_3.0.0...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0__b03f5f7f11d50a3a\Syste...
    and for the ISE it returns this 
    GAC    Version        Location                                                                                                     
    True   v4.0.30319     C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll                                                 
    False  v4.0.30319     C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe                                                
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.ISECommon\v4.0_3.0.0.0__31bf3856ad364e35\Mic...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll                    
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Window...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll    
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\Syste...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll          
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.GPowerShell\v4.0_3.0.0.0__31bf3856ad364e35\M...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.Composition\v4.0_4.0.0.0__b77a5c561934e089\...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Editor\v4.0_3.0.0.0__31bf3856ad364e35\Micros...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\Presentation...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll          
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll          
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Config...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll            
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\Syste...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationProvider\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationP...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll      
    False  v4.0.30319                                                                                                                  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Di...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Managemen...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e3...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll  
    False  v4.0.30319                                                                                                                  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.AeroLite\v4.0_4.0.0.0__31bf3856ad364e35\Pre...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationType...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\Pr...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration.Install\v4.0_4.0.0.0__b03f5f7f11d50a3a\Syste...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transacti...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Security\v4.0_3.0.0.0__31bf3856ad364e35\Micr...
    False  v4.0.30319                                                                                                                  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.GraphicalHost\v4.0_3.0.0.0__31bf3856ad364e35...
    False  v4.0.30319                                                                                                                  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemCore\v4.0_4.0.0.0__b77a5c561934e089\P...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll            
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Commands.Utility\v4.0_3.0.0.0__31bf3856ad364...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemData\v4.0_4.0.0.0__b77a5c561934e089\P...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Commands.Management\v4.0_3.0.0.0__31bf3856ad...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Servi...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Activities\v4.0_3.0.0.0__31bf3856ad364e35\Mi...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activitie...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Workflow.ServiceCore\v4.0_3.0.0.0__31bf3856a...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities.Presentation\v4.0_4.0.0.0__31bf3856ad364e35\Sys...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Core.Activities\v4.0_3.0.0.0__31bf3856ad364e...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Diagnostics.Activities\v4.0_3.0.0.0__31bf385...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Management.Activities\v4.0_3.0.0.0__31bf3856...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Security.Activities\v4.0_3.0.0.0__31bf3856ad...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Utility.Activities\v4.0_3.0.0.0__31bf3856ad3...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.WSMan.Management.Activities\v4.0_3.0.0.0__31bf3856ad364...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.DurableInstancing\v4.0_4.0.0.0__31bf3856ad364e35\S...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\Syst...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXmlLinq\v4.0_4.0.0.0__b77a5c561934e08...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Dynamic.dll    
    Thanks Lance

  • 3 questions regarding duplicate script

    3 questions regarding duplicate script
    Here is my script for copying folders from one Mac to another Mac via Ethernet:
    (This is not meant as a backup, just to automatically distribute files to the other Mac.
    For backup I'm using Time Machine.)
    cop2drop("Macintosh HD:Users:home:Desktop", "zome's Public Folder:Drop Box:")
    cop2drop("Macintosh HD:Users:home:Documents", "zome's Public Folder:Drop Box:")
    cop2drop("Macintosh HD:Users:home:Pictures", "zome's Public Folder:Drop Box:")
    cop2drop("Macintosh HD:Users:home:Sites", "zome's Public Folder:Drop Box:")
    on cop2drop(sourceFolder, destFolder)
    tell application "Finder"
    duplicate every file of folder sourceFolder to folder destFolder
    duplicate every folder of folder sourceFolder to folder destFolder
    end tell
    end cop2drop
    1. One problem I haven't sorted out yet: How can I modify this script so that
    all source folders (incl. their files and sub-folders) get copied
    as correspondent destination folders (same names) under the Drop Box?
    (At the moment the files and sub-folder arrive directly in the Drop Box
    and mix with the other destination files and sub-folders.)
    2. Everytime before a duplicate starts, I have to confirm this message:
    "You can put items into "Drop Box", but you won't be able to see them. Do you want to continue?"
    How can I avoid or override this message? (This script shall run in the night,
    when no one is near the computer to press OK again and again.)
    3. A few minutes after the script starts running I get:
    "AppleScript Error - Finder got an error: AppleEvent timed out."
    How can I stop this?
    Thanks in advance for your help!

    Hello
    In addition to what red_menace has said...
    1) I think you may still use System Events 'duplicate' command if you wish.
    Something like SCRIPT1a below. (Handler is modified so that it requires only one parameter.)
    *Note that the 'duplicate' command of Finder and System Events duplicates the source into the destination. E.g. A statement 'duplicate folder "A:B:C:" to folder "D:E:F:"' will result in the duplicated folder "D:E:F:C:".
    --SCRIPT1a
    cop2drop("Macintosh HD:Users:home:Documents")
    on cop2drop(sourceFolder)
    set destFolder to "zome's Public Folder:Drop Box:"
    with timeout of 36000 seconds
    tell application "System Events"
    duplicate folder sourceFolder to folder destFolder
    end tell
    end timeout
    end cop2drop
    --END OF SCRIPT1a
    2) I don't know the said error -8068 thrown by Finder. It's likely a Finder's private error code which is not listed in any of public headers. And if it is Finder thing, you may or may not see different error, which would be more helpful, when using System Events to copy things into Public Folder. Also you may create a normal folder, e.g. named 'Duplicate' in Public Folder and use it as desination.
    3) If you use rsync(1) and want to preserve extended attributes, resource forks and ACLs, you need to use -E option. So at least 'rsync -aE' would be required. And I rememeber the looong thread failed to tame rsync for your backup project...
    4) As for how to get POSIX path of file/folder in AppleScript, there're different ways.
    Strictly speaking, POSIX path is a property of alias object. So the code to get POSIX path of a folder whose HFS path is 'Macintosh HD:Users:home:Documents:' would be :
    POSIX path of ("Macintosh HD:Users:home:Documents:" as alias)
    POSIX path of ("Macintosh HD:Users:home:Documents" as alias)
    --> /Users/home/Documents/
    The first one is the cleanest code because HFS path of directory is supposed to end with ":". The second one also works because 'as alias' coercion will detect whether the specified node is file or directory and return a proper alias object.
    And as for the code :
    set src to (sourceFolder as alias)'s POSIX Path's text 1 thru -2
    It is to strip the trailing '/' from POSIX path of directory and get '/Users/home/Documents', for example. I do this because in shell commands, trailing '/' of directory path is not required and indeed if it's present, it makes certain command behave differently.
    E.g.
    Provided /a/b/c and /d/e/f are both directory, cp /a/b/c /d/e/f will copy the source directory into the destination directory while cp /a/b/c/ /d/e/f will copy the contents of the source directory into the destination directory.
    The rsync(1) behaves in the same manner as cp(1) regarding the trailing '/' of source directory.
    The ditto(1) and cp(1) behave differently for the same arguments, i.e., ditto /a/b/c /d/e/f will copy the contents of the source directory into the destination directory.
    5) In case, here are revised versions of previous SCRIPT2 and SCRIPT3, which require only one parameter. It will also append any error output to file named 'crop2dropError.txt' on current user's desktop.
    *These commands with the current options will preserve extended attributes, resource forks and ACLs when run under 10.5 or later.
    --SCRIPT2a - using cp(1)
    cop2drop("Macintosh HD:Users:home:Documents")
    on cop2drop(sourceFolder)
    set destFolder to "zome's Public Folder:Drop Box:"
    set src to (sourceFolder as alias)'s POSIX Path's text 1 thru -2
    set dst to (destFolder as alias)'s POSIX Path's text 1 thru -2
    set sh to "cp -pR " & quoted form of src & " " & quoted form of dst
    do shell script (sh & " 2>>~/Desktop/cop2dropError.txt")
    end cop2drop
    --END OF SCRIPT2a
    --SCRIPT3a - using ditto(1)
    cop2drop("Macintosh HD:Users:home:Documents")
    on cop2drop(sourceFolder)
    set destFolder to "zome's Public Folder:Drop Box:"
    set src to (sourceFolder as alias)'s POSIX Path's text 1 thru -2
    set dst to (destFolder as alias)'s POSIX Path's text 1 thru -2
    set sh to "src=" & quoted form of src & ";dst=" & quoted form of dst & ¬
    ";ditto "${src}" "${dst}/${src##*/}""
    do shell script (sh & " 2>>~/Desktop/cop2dropError.txt")
    end cop2drop
    --END OF SCRIPT3a
    Good luck,
    H
    Message was edited by: Hiroto (fixed typo)

  • Configure logging for workflow scripts

    I know I've done this before, but for the life of me I can't figure it out again.  How can I setup my logging configuration to view the output from ecma scripts used as workflow steps?
    Thanks,
    -Sam

    So, figured this one out you can log this by setting a logger for.
    etc.workflow.scripts to log all logging from all scripts, to log a specfic script use etc.workflow.scripts.<scriptName>$ecma.

  • Regarding workflow

    Hello All,
    I have a requirement to design a workflow for payment for a purchase order like while the finance people release a amount for purchase based on the amount it should take the approval from the concerned person and should allow the purchase order to b released .
    Can u pls help me in defining workflow for the same or u can suggest any documents on tht.
    Thanks,
    Sunny

    <a href="http://www.mindtree.com/clt/cs_ranbaxy.html">see if this helps</a>
    <a href="http://iris.tennessee.edu/Blueprint/Workflow/Workflow.doc">also this one</a>
    regards,
    srinivas

  • Photographer workflow script - from card to web in 10 steps. Possible?

    Photography processing workflow AppleScript
    I shoot photos of real estate properties for clients and post them online to a web gallery via a CMS and FTP client. Because many of the steps are consistent, I would really want to have a script created to do the following (mostly automated, but does require some input from me). Here's an accompanying video going thru this script in case any of it is unclear: http://bit.ly/i1im3E
    *Here are the steps:*
    1) I start by plugging in my camera's memory card (the one that holds the photos from the shoot) into the computer's USB reader. Drive "EOS_DIGITAL" appears on desktop.
    2) Script recognizes that a card has been plugged in and dialogue box asks "Process photos, process panoramas, or quit script." Alternitavely, I can engage a script myself if an auto-recognize function is overly complex/etc. For now, I want the script to process just photos (we can deal with panoramas later). Click "Photos". (of course, if click "Quit", the script ends at that point. I need this option in case I am not yet ready or I don't intend on processing the photos from this card).
    3) Next, the application Adobe Bridge CS4 is initiated and the EOS_DIGITAL drive is opened in Adobe Bridge to the directory: computer/EOSDIGITAL/DCIM100EOS5D. It is within this director on the card that the photos sit.
    4) At this point, the script pauses with a dialogue box instructing me to "Select photos"… This gives me the opportunity to manually select all the photos I wish to edit and share with the client later on. Once selected, click "Continue" which opens the selected photos in Camara Raw via menu (File>Open in Camera Raw…).
    5) Once Camera Raw opens with all photos previously selected, the script pauses with dialogue box asking "Please click continue when finished editing". At this point I edit the photos using Camera Raw.
    6) When finished editing, I click to continue on the script's dialogue. The script then selects all (edit>select all) of the photos in the Camera Raw sidebar (those that I just finished editing), and clicks "Save Images…". The Save Options opens and let's me "Select Folder"; then under "File Naming" selects "1 Digit Serial Number" from the first drop-down. For "Format" selects "JPEG" and quality "Maximum" and finally the script clicks "save". When it finishes saving, "Cancel" or ESC from Camera Raw and quit Adobe Bridge.
    7) Dialogue box with buttons opens referring to recently saved photos: "Convert and save into MLS size, Web size, both, or quit?" The buttons of course will be MLS, Web, Both, Quit.
    - If select the "Both" button: first, two new folders named "web" and "mls" are created in the folder bearing the newly saved photos from step 6. Next, the new photos are saved as copies into the new folders and (via photoshop save for web function) reduced to 550px wide (with constraints on) in the "web" folder and 640px wide (with constraints on) in the "mls" folder.
    - if select "MLS size", then similar to the "Both" option but only makes one folder ("mls") and copies and sizes the photos to 640px wide in that folder.
    - if "Web size", etc.
    - if "quit", then the script is stopped and quit at that point.
    8) Once finished converting photos, Safari opens and logs into http://www.stonehomephoto.com/admin.php using login ________ and password _______ (for obvious reasons I will input these into the final script myself--just let me know where). Once logged in, dialogue will ask "Is this an existing client or new?" with buttons Existing and New.
    - if New, will go to http://www.stonehomephoto.com/admin.php?pid=administrator&code=edit and here I will fill in info to create a new user login for a new client: user login, user password, then click save. This creates a new client account so my clients can access their individual galleries thru the CMS. At this point I will proceed to the "Examples" tab as per Existing below
    - if Existing, go to http://www.stonehomephoto.com/admin.php?pid=example&code=edit and here I will create a new listing for the web gallery. I will fill in the following fields: Title, Html address, Mp3 background (set automatically to /images/upload/music/Beethoven Piano Sonata 12 (Opus 26 1st Movement).mp3), Assign client (select from a drop-down menu), fill in the Meta title and Meta description, and add address in the search/map field and click "search". Once all this is completed, click "save". This will create the new web gallery and appropriate folders will be made (named after the html address) in the server/host.
    9) Filezilla opens and logs in with host ________ username ________ password ______ and host ___. (for obvious reasons I will input these into the final script myself--just let me know where). Once logged into the server, will navigate to directory _____________________ and will open the newly created folder as created in step 8. Within this folder will also be an already created folder named MLS. Once within this main folder, the script will move the "Web" photos (created in step 7 above) into the directory. It will also move the "MLS" photos into the "MLS" folder. Once photos have been uploaded, script quits Filezilla.
    10) Script opens a specified Numbers spreadsheet /Users/Peter/Documents/MY DOCUMENTS/STONEHOME/*TRACK:CONTACTS:COMPETITION (similar to this script: http://discussions.apple.com/thread.jspa?threadID=2704594&tstart=0) and dialogue asks "Please select relevant row" and click continue. Once the row in the spreadsheet containing the data for the listing (including the client's name, phone, email, the listing address, etc, etc) is selected and the Continue button is clicked, an email is created using a previously saved text template RTF file and specified fields are filled in using the data from the spreadsheet. Here's the text:
    "Hi clientnamehere
    The virtual tour for propertyaddress_here_double_click_toadd is online and ready for you to access and share.
    Step 1: Online Virtual Tour
    We're providing you with two links to your online virtual tour. While both look essentially the same, one is without branding/contact info for you to use on your TREB listing, and the others is with branding/contact for use everywhere else. Please read the "CAUTION" note below for detailed explanation why you need these two links.
    You must use this link on your MLS/TREB listing as a virtual tour: url_here
    … And use this link for all other purposes: url_here
    Step 2: Login
    Login to add a description and contact info by clicking the login button at the top corner of our website: http://www.stonehomephoto.com
    User name: usernamehere
    Password: userpasshere
    Step 3: Add description and contact info to your listing
    Once logged in, click the "My Pages" tab then click on the link "edit" (note that the link "edit" is separate from "gallery", even though the two look like one link--we are working on resolving this). In this "edit" section, you'll be able to add a description, contact info (I recommend also adding a photo of yourself in the "edit contact data"), etc. Please do make sure to include a description and your contact info otherwise it will remain blank. 
    *CAUTION: Please do double-check when posting the link to TREB/MLS that you use the first URL above (the one with "mls" in the URL). If you post the link with "client" in the URL to TREB/MLS, the listing will be removed by TREB and you'll get a warning letter from TREB, and potentially a fine (it's happened to past clients). These are TREB rules; not mine. The difference between the MLS version and the CLIENT version of the URLs is that the CLIENT version has contact info, logo, etc, whereas the MLS version doesn't. TREB/MLS doesn't allow any links to sites/web galleries/etc that have contact info, logos, etc. Just so you know for future reference, I will always give you two URLs: one for MLS/TREB and another (with CLIENT in URL) for all other purposes.
    If you have questions, please don't hesitate to contact us directly--we'll be glad to help."
    11) At this point I can review the email and send it when I feel it's ready to go. That's it.
    Easy, right?

    Don't know if this will help, but take look at: http://www.completedigitalphotography.com/?p=373 and http://www.apple.com/downloads/macosx/automator/photoshopactionpack.html

  • Regarding Workflow mailer error

    Hi
    Could anyone teach me how to troubleshooting these errors in log of mailer?
    My customer made mailer available through OAM and could send notification.
    However, a lot of errors were found in log of mailer.
    Quote
    [Nov 7, 2011 8:33:55 PM JST]:1320665635770:-1:-1:svdbdc006:10.140.102.13:-1:-1:1:20420:SYSADMIN(0):-1:Thread[BES Dispatch Thread,5,main]:10.140.102.13:73020:1320665633553:10:EXCEPTION:[SVC-GSM-WFALSNRSVC-133833 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:Successfully handled component event, oracle.apps.fnd.cp.gsc.SvcComponent.start, for component 10011
    [Nov 7, 2011 8:33:54 PM JST]:1320665634490:-1:-1:svdbdc006:10.140.102.13:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.140.102.13:73020:1320665634490:11:ERROR:[SVC-GSM-WFALSNRSVC-133833-10005 : oracle.apps.fnd.wf.bes.AgentListenerProcessor.read()]:10consecutive errors occurred
    [Nov 7, 2011 8:33:57 PM JST]:1320665637002:-1:-1:svdbdc006:10.140.102.13:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.140.102.13:73020:1320665634490:11:ERROR:[SVC-GSM-WFALSNRSVC-133833-10005 : oracle.apps.fnd.cp.gsc.Processor.performError(ProcessorException)]:Maximum number of errors have occurred for this processing thread.
    <af type="tenured" id="106" timestamp="Nov 07 20:33:58 2011" intervalms="3796.734">
    <minimum requested_bytes="98320" />
    <time exclusiveaccessms="0.032" meanexclusiveaccessms="0.032" threads="0" lastthreadtid="0x3225CB00" />
    <refs soft="399" weak="183" phantom="0" dynamicSoftReferenceThreshold="9" maxSoftReferenceThreshold="32" />
    <tenured freebytes="0" totalbytes="18192896" percent="0" >
    <soa freebytes="0" totalbytes="18192896" percent="0" />
    <loa freebytes="0" totalbytes="0" percent="0" />
    </tenured>
    <gc type="global" id="106" totalid="106" intervalms="3796.788">
    <expansion type="tenured" amount="3553280" newsize="21746176" timetaken="0.000" reason="insufficient free space following gc" />
    <finalization objectsqueued="27" />
    <timesms mark="22.192" sweep="0.514" compact="0.000" total="23.115" />
    <tenured freebytes="6622496" totalbytes="21746176" percent="30" >
    <soa freebytes="6405408" totalbytes="21529088" percent="29" />
    <loa freebytes="217088" totalbytes="217088" percent="100" />
    </tenured>
    </gc>
    <tenured freebytes="6524176" totalbytes="21746176" percent="30" >
    <soa freebytes="6383376" totalbytes="21605376" percent="29" />
    <loa freebytes="140800" totalbytes="140800" percent="100" />
    </tenured>
    <refs soft="214" weak="167" phantom="0" dynamicSoftReferenceThreshold="9" maxSoftReferenceThreshold="32" />
    <time totalms="23.241" />
    </af>
    [Nov 7, 2011 8:34:29 PM JST]:1320665669022:-1:-1:svdbdc006:10.140.102.13:-1:-1:1:20420:SYSADMIN(0):-1:Thread[ComponentMonitor,5,main]:10.140.102.13:73020:1320665606034:1:EXCEPTION:[SVC-GSM-WFALSNRSVC-133833 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.startAutomaticComponents()]:Starting automatic component 10005
    [Nov 7, 2011 8:34:36 PM JST]:1320665676474:-1:-1:svdbdc006:10.140.102.13:-1:-1:1:20420:SYSADMIN(0):-1:Thread[BES Dispatch Thread,5,main]:10.140.102.13:73020:1320665676474:12:EXCEPTION:[SVC-GSM-WFALSNRSVC-133833 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:(BusinessEvent{name=oracle.apps.fnd.cp.gsc.SvcComponent.start, key=SVC:07-NOV-2011, priority=50, correlationId=null, sendDate=Mon Nov 07 20:34:29 JST 2011, receiveDate=null, From Agent:  , To Agent:  , Last Subscription=  , Error Message=null, Error Stack=null, CONTAINER_TYPE=GSM, CONTAINER_PROCESS_ID=133833, COMPONENT_ID=10005, [email protected], BES_PAYLOAD_OBJECT=false})
    [Nov 7, 2011 8:34:46 PM JST]:1320665686481:-1:-1:svdbdc006:10.140.102.13:-1:-1:1:20420:SYSADMIN(0):-1:Thread[BES Dispatch Thread,5,main]:10.140.102.13:73020:1320665676474:12:EXCEPTION:[SVC-GSM-WFALSNRSVC-133833 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.handleComponentEvent(int, String, String)]:Successfully retrieved component details from the database
    [Nov 7, 2011 8:34:46 PM JST]:1320665686614:-1:-1:svdbdc006:10.140.102.13:-1:-1:1:20420:SYSADMIN(0):-1:Thread[BES Dispatch Thread,5,main]:10.140.102.13:73020:1320665676474:12:EXCEPTION:[SVC-GSM-WFALSNRSVC-133833 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:Successfully handled component event, oracle.apps.fnd.cp.gsc.SvcComponent.start, for component 10005
    [Nov 7, 2011 8:34:46 PM JST]:1320665686772:-1:-1:svdbdc006:10.140.102.13:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.140.102.13:73020:1320665686772:13:ERROR:[SVC-GSM-WFALSNRSVC-133833-10005 : oracle.apps.fnd.wf.bes.AgentListenerProcessor.read()]:10consecutive errors occurred
    [Nov 7, 2011 8:34:46 PM JST]:1320665686812:-1:-1:svdbdc006:10.140.102.13:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.140.102.13:73020:1320665686772:13:ERROR:[SVC-GSM-WFALSNRSVC-133833-10005 : oracle.apps.fnd.cp.gsc.Processor.performError(ProcessorException)]:Maximum number of errors have occurred for this processing thread.
    [Nov 7, 2011 8:35:29 PM JST]:1320665729053:-1:-1:svdbdc006:10.140.102.13:-1:-1:1:20420:SYSADMIN(0):-1:Thread[ComponentMonitor,5,main]:10.140.102.13:73020:1320665606034:1:EXCEPTION:[SVC-GSM-WFALSNRSVC-133833 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.startAutomaticComponents()]:Starting automatic component 10005
    <af type="tenured" id="107" timestamp="Nov 07 20:35:36 2011" intervalms="98237.510">
    <minimum requested_bytes="98320" />
    <time exclusiveaccessms="0.024" meanexclusiveaccessms="0.024" threads="0" lastthreadtid="0x330E6900" />
    <refs soft="483" weak="329" phantom="0" dynamicSoftReferenceThreshold="9" maxSoftReferenceThreshold="32" />
    <tenured freebytes="0" totalbytes="21746176" percent="0" >
    <soa freebytes="0" totalbytes="21605376" percent="0" />
    <loa freebytes="0" totalbytes="140800" percent="0" />
    </tenured>
    <gc type="global" id="107" totalid="107" intervalms="98237.593">
    <expansion type="tenured" amount="1048576" newsize="22794752" timetaken="0.000" reason="insufficient free space following gc" />
    <finalization objectsqueued="25" />
    <timesms mark="20.137" sweep="0.800" compact="0.000" total="21.178" />
    <tenured freebytes="6998816" totalbytes="22794752" percent="30" >
    <soa freebytes="6623520" totalbytes="22419456" percent="29" />
    <loa freebytes="375296" totalbytes="375296" percent="100" />
    </tenured>
    </gc>
    <tenured freebytes="6900496" totalbytes="22794752" percent="30" >
    <soa freebytes="6671632" totalbytes="22565888" percent="29" />
    <loa freebytes="228864" totalbytes="228864" percent="100" />
    </tenured>
    <refs soft="215" weak="169" phantom="0" dynamicSoftReferenceThreshold="9" maxSoftReferenceThreshold="32" />
    <time totalms="21.265" />
    </af>
    I have checked the below notes,but I'm not clear.
    761434.1 Workflow Mailer fails to star : Maximum Number Of Errors (100) Have Been Reached : WebSession.isSessionRecreated
    333017.1 OWF.G Mailer just started dumping a OutOfMemoryError
    Please teach me what's the meaning of errors and what we should deal with them.
    Best Regards
    Liying

    Please post the details of the application release, database version and OS.
    Please see these docs.
    Java.Lang.Outofmemoryerror On Large Inbound XML Message [ID 560680.1]
    Intermittently Notification Emails are not Received [ID 1315344.1]
    OWF.G Mailer just started dumping a OutOfMemoryError [ID 333017.1]
    Output Post Processor is Down With Error "Insufficient Free Space Following GC" [ID 885607.1]
    Thanks,
    Hussein

  • Regarding workflow jumps

    Hi All,
    We have workflow scenario like this
    1.Each step has a workflow approval limit for 5 days.If within 5 days the specified reviewer doesn't approve .Then mail will be notified to the respective reviewers and manager as well.
    For this we in the update event we have created a jump called
    <$if parseDate(wfCurrentGet("lastEntryTs")) < dateCurrent(-5)$>
    <$wfSet("wfJumpName", "LateApproval")$>
    <$wfSet("wfJumpTargetStep",
    "NotifyAuthor@ApprovalPeriodExpired")$>
    <$wfSet("wfJumpReturnStep", wfCurrentStep(0))$>
    <$wfSet("wfJumpEntryNotifyOff", "0")$>
    <$endif$>
    Now my doubt is when this script is evaluated and jumps to the ApprovalPeriodExpired and notified the respective users and if it comes back to the current step ,will the state of the step is preserved or will the step be restarted.
    Lets say test,test1 are reviewers for StepA and test has approved but waiting at test1 ,but when it jumps returened will the pending reviewer would be test1 or both test,test1(as it entered again into the step

    will the state of the step is preserved or will the step be restarted.By default, it will be "restarted". A step has no "state", it has just a few variables.
    I think what you are looking for is to notify only users that had not approved the item before it was escalated to the manager. This is achievable, but you will have to put some extra logic yourself:
    a) do not base the notification lists on hardcoded values, but use a token (http://download.oracle.com/docs/cd/E17904_01/doc.1111/e10978/c05_workflows.htm#CIHBBCJC)
    b) use Exit (on the previous step), Entry and Update to modify your token properly. Also, take a look at the function wfComputeStepUserList, which can help you to get the list of remaining approvers at any time
    Alternatively, take a look if subworkflows and wfExit cannot do the work for you, too.

  • Help regarding workflow triggering

    hi
    i am working on WLI using weblogic 8.1
    i have designed very simple workflow using some simple nodes.
    as given in the tutorial i am able to run my workflow using test browser.
    .its pefectly working.
    i would like to know the ways of triggering the workflow from java clients.
    Is subscribing to message broker is the only way or we have some other simpler
    ways?
    thanx

    Thats correct for Weblogic Integration 7.0 and before but in Weblogic
    Integration 8.1 there is no default queue with the name
    "com.bea.wli.bpm.EventQueue" configured. Weblogic Platform 7.0 uses the
    Message Oriented Middleware (MOM) aproach and Weblogic Platform 8.1 uses the
    Service Oriented Architecture (SOA).
    There is a good article about Weblogic Workshop Internals on dev2dev [1] and
    in the documentation there is a page about writing clients for web services
    [2] (in Weblogic Platform 8.1 workflows are web services).
    If you create your workflow with Weblogic Workshop then you can access the
    workflow over the URL
    http://yourhost:7001/yourApplication/processes/yourProcess.jpd with SOAP. In
    the test browser under the overview tab you can generate a WSDL, a Java
    Control, a Service Broker Control and a Java Proxy (which needs the Proxy
    Support Jar). With this components you can access your workflow. If you
    wanna see the SOAP message use the test browser there is the html form which
    uses http for triggering the workflow, for example:
    <table cellspacing=0 cellpadding=0 border=0 width="100%">
    <form NAME="placeOrder"
    METHOD="POST"
    ACTION=http://localhost:7001/AvitekWeb/processes/orderProcessing/placeOrder.
    jpd>
    <tr><td colspan=2 class=methname><A
    NAME="placeOrder"></A>placeOrder</td></tr>
    <tr><td colspan=2 class=methdesc><!-- do comments
    correctly --><!--docString--></td></tr>
    <tr>
    <td class=namcol><nobr><b>SOAP body:</b> </nobr></td>
    <td class=inpcol>
    <TEXTAREA class="xmlbox" name=".SOAPMESSAGE" COLS=50 ROWS=10 ><placeOrder
    xmlns="http://www.openuri.org/"
    xmlns:eval="http://www.beasys.com/evalguide">
    <eval:Order>
    <eval:CustomerID>3</eval:CustomerID>
    <eval:OrderPriority>string</eval:OrderPriority>
    <eval:CustomerType>string</eval:CustomerType>
    <eval:LineItems>
    <!--1 or more repetitions:-->
    <eval:Item>
    <eval:Name>string</eval:Name>
    <eval:SKU>3</eval:SKU>
    <eval:Description>string</eval:Description>
    <eval:Price>1.5E2</eval:Price>
    <eval:Quantity>3</eval:Quantity>
    </eval:Item>
    </eval:LineItems>
    <eval:OrderID>3</eval:OrderID>
    <eval:TotalAmount>1.051732E7</eval:TotalAmount>
    <eval:OrderDate>2008-09-29</eval:OrderDate>
    <eval:OrderStatus>string</eval:OrderStatus>
    </eval:Order>
    </placeOrder>
    </TEXTAREA></td></tr>
    <tr><td><img alt="" height=6 width=0
    src="http://localhost:7001/AvitekWeb/processes/orderProcessing/placeOrder.jp
    d?.RESOURCE=blank.gif">
    </td></tr><tr><td> </td><td class=inpcol><input TYPE=submit
    class=inpbut VALUE="placeOrder"> starts a conversation<input TYPE=HIDDEN
    NAME=.EXPLOREOVERRIDE value=".TESTXML"><input TYPE=hidden NAME=.EXPLORE
    VALUE=.INVOKE><INPUT TYPE=hidden NAME=.CONVERSATIONID VALUE=_ID_><INPUT
    TYPE=HIDDEN NAME=".CONVPHASE" VALUE=".START"><p></td></tr></form>
    I think in this code is all what you need to start a workflow.
    mfg
    Daniel
    [1] http://www.dev2dev.com/products/wlworkshop81/articles/wlw_internals.jsp
    [2] http://e-docs.bea.com/wls/docs81/webserv/client.html
    "Raj" <[email protected]> schrieb im Newsbeitrag
    news:[email protected]...
    >
    Hi Swati,
    You can write JMS program to post an XML to a Queue and configure thestart node
    to event.The Quename for this client program should be"com.bea.wli.bpm.EventQueue",
    else you have to configure an MDB listener. Let me know if you havefurther doubts....
    >
    Regards
    Raj
    "swati" <[email protected]> wrote:
    hi
    i am working on WLI using weblogic 8.1
    i have designed very simple workflow using some simple nodes.
    as given in the tutorial i am able to run my workflow using test browser.
    .its pefectly working.
    i would like to know the ways of triggering the workflow from java
    clients.
    Is subscribing to message broker is the only way or we have some other
    simpler
    ways?
    thanx

  • Regarding workflow suspension(entry in table SWP_SUSPEN)

    Hi Experts,
    I have a workflow whose one of the workitem goes into enqueue error during it's processing when user tries to perform some parallel activity , now when user stops the parallel activity & come back to his inbox, it allows him to process the workitem properly. (That is workitem is successfully processed.....status is  completed). But after this workitem execution, the workflow hangs / gets suspended. Step histroy of this workitem shows there was an error when processing this workitem (Enqueue error) even though finally  user was able to continuue & process the workitem successfully & status is completed too. It creates an entry in table SWP_SUSPEN With workflow Workitem ID & workitem id of the workitem under this workflow & error type as "0001" i.e:- Enqueue error callback to workflow)  & status of the workflow as "1" ...i.e: - "In Process  " & not in error.
    I also analyzed that once the entry in the table SWP_SUSPEN is removed or gets deleted, the workflow continues from the point where it stucked.
    So what i wanted to know is, what this entry in SWP_SUSPEN means by indicating "Error type" as 0001 & Status as "1" . & how this entry gets deleted, i thought there is some background JOB RSSWERRE that does this but when i checked i found RSSWERRE only checks for items in SWP_SUSPEN with workflow statuses as "02" i.e:- In error. where as my workflow has status "1" in SWP_SUSPEN under status field (as mentioned above)which means "In Process"  I also found that this entry is getting deleted after sometime, so there must be some background job that is doing it, so i wanted to know what is that background Job if not RSSWERRE.
    Regards,
    Chetan.

    Hi,
    This is what i got from one of the Notes:
    ou use parallel processing where you have a fork with 2 branches (1
    Branch necessary for completion). In one branch is a dialog activity
    step and in the other is a 'Wait for Event' step. While the dialog
    step is being executed by a user the Wait for Event step receives its
    event and continues along the branch and completes the fork (Remember
    only 1 branch needed for completion). Once the end of fork is reached
    the dialog work item should be set to status Logically Deleted but
    this does not occur due to the lock/enqueue on the work item while the
    user is executing it. Since a callback is essential for a workflow to
    continue running, this callback is suspended (stored in the SWP_SUSPEN
    table). These callbacks are started again via the RSWWERRE report. If
    you have not scheduled report RSWWERRE then the work items will remain
    in table SWP_SUSPEN and the work items will not receive their callback
    and will therefor will not continue.
    If there are examples of work items hanging then check table SWP_SUSPEN to
    see if the callback work item ID is there. If it is then make sure you have
    the RSWWERRE job running in order to redeliver it. If RSWWERRE is running
    and the entry is not being delivered then please check for notes using the
    search term "RSWWERRE" and "SWP_SUSPEN". If there is no entry in
    SWP_SUSPEN, then check the workflow definition to see if the work item is
    asynchronous i.e. needs a terminating event as in Example 1 above. Check
    the event queue via transaction SWEQADM to see if the terminating event is
    being buffered there. If it is then it should automatically be redelivered
    so do a notes search in relation to the event queue.
    Regards
    Gautam
    Edited by: gautam maini on Aug 3, 2011 4:16 PM

  • Regarding workflow  organization structure

    hi Gurs.
    How to create Organization Structure, Create Workflow with Multiple Approval based on Organization Structure.
    this is my requirement i dont no how to create  organization  structure in which tcode  i have to build and what all steps.
    pl help me.
    Regards
    vijay

    Hi,
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Kind regards,
    Siobhan

Maybe you are looking for