Workflow method attributes
Hi
In my workflow i have created one task inside the task i should refer to method in BOR can any body tell me what are the attributes we have to refer to method in my method i will pass matnr as input parameter and inside the method i will update some values to mara table i.e the logic inside the method going to do. so i want to make attributes of method as synchronus or what and all the attributes should be set for method .
Hi,
Provide Material Number as your key field and If you are updating Table MARA then you can have ersda, ernam, laeda, aenam, mtart, matkl, ean11 can be given in the Attributes which needs to modified. Before writing a method or creating a ZMETHOD search if there ar eany standard method to do the same.
If you are not satisfied please let us know what table you need to update or your process eloboratly.
Thanks and Regards,
Prashanth
Similar Messages
-
Error while querying workflow message attributes for task
Can some one please help me with this error?
I get this error when I submit a task in worklist app. I have figure out that it is causing due to one payload in the table in the task. If remove that payload I am able to submit the task.
Error while querying workflow message attributes for task a99d1cf3-5e91-4c4a-8660-aeae91bfbec0 with version 5.
Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services.
oracle.jbo.JboException: Error while querying workflow message attributes.
Error while querying workflow message attributes for task a99d1cf3-5e91-4c4a-8660-aeae91bfbec0 with version 5.
Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services.
at oracle.bpel.services.datacontrol.XSDDataControl.invokeOperation(XSDDataControl.java:460)
at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2144)
at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)Can anybody help me on this?
I did some google but I get this only which is not much helpful.
http://download.oracle.com/docs/cd/E14571_01/core.1111/e10113/chapter_bpm_messages.htm -
I have a few questions about Adobe Flash and i'm hoping you
guys could help me
out.
One of my assignments is to find a better way to develop and
structurize Flash applications
(animations/motion graphics/ websites).
I'd like to know if there is a way to give more structure in
a Flash project (kind of a like a workflow method)? That both
designers and developers can work faster on a single flash project,
making flash documents/projects better organised (in the library as
well as the timeline/layers and the names of movie clips, buttons
and graphics). I searched on the Adobe site, lots of blogs and
forums. I have found a lot of information so far, but i'm still not
certain
about some things, so that's why i posted this.
Thanks in advance for any info!
greetingsHi,
There currently isn't a generally available way to extend Builder's design view. It is something that we've considered adding as a feature, though, so I'd be glad to hear more about how you would use this. Drop me a note directly and we can discuss. It's buntel at adobe dot com.
Thanks!
Tim -
Calling report program to my workflow method
hi friends
I have writen the logic to find the email id for travel admin now i want to call this REPORT program to my workflow method. How can i do that. I know how to do that in function module but i want to try with report program. How to get the import and export parameter in the report program. I know there is some thing called memory id export but i dont no how to do that. Can any one show with sample code.
Regards
vijayHi Vijay,
You can make use of the following sample code.
BEGIN_METHOD ' ' CHANGING CONTAINER.
export itab to memory id 'PQR'.
submit zMM_R_BUDJETDISP AND RETURN."exporting list to memory and return.
END_METHOD.
In your program you can use
import itab from memory ID 'PQR'.
Here Itab is a internal table.
Similarly you can define single data elements as well.
you can use this syntax to import, export parameters.
let me know if you have any queries.
Regards,
Raj -
Method attribute with af:declarativeComponent tag ?
Is it possible to use a method attribute when using a declarative component with the af:declarativeComponent tag? (v11.1.1.1.0)
In my jsff, I have defined a method attribute like:
<method-attribute>
<attribute-name>fileAttached</attribute-name>
<method-signature>void fileAttached(javax.faces.event.ValueChangeEvent)</method-signature>
<required>true</required>
</method-attribute>and in my jspx page I'm adding the component like:
<af:declarativeComponent id="dc1"
viewId="components/attachments.jsff"
fileAttached="#{MyBackingBean.fileAttached}"/>However I get the following exception (ADF is looking for an property, even though i've defined this as a method attribute):
javax.el.PropertyNotFoundException: The class 'com.xxx.MyBackingBean' does not have the property 'fileAttached'.
at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:547)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:249)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
at oracle.jsp.runtime.OracleUnifiedELRuntime.evaluateValueExpression(OracleUnifiedELRuntime.java:158)
at oracle.jsp.parse.JspUtils.ExprValue(JspUtils.java:2348)Does the af:declarativeComponent tag support this, or do I have to go through the whole process of:
- define declarative component and new taglib
- generate ADF library jar
- add library jar to project
- import taglib and use tag in my page
to use method attributes?Yes, I've tried a few different methods here and the signature is definitely correct.
As far as I can tell, when I use the af:declarativeComponent tag, the <component-extension> section of the component is ignored completely. For example, I can have a method-attribute in the <component-extension> extension that is set to required=true, however when if I omit this attribute, the renderer doesn't complain. If I include the attribute (refer to a method) then I get the above exception, because the expression evaluator just wants to evaluate it as a property, regardless of what the <component-extension> inside the jsff says.
Frank, is your example definitely using the af:declarativeComponent tag? I am not creating an ADF library jar and taglib to contain my declarative component - are you? -
Approval Workflow at Attribute level
Hello,
can anyone guide me how to achieve approval workflow at Attribute level.
OIM 9.1.0.1/2 supports workflow for self profile update but it is not at attribute level & i need some approach
to achieve this workflow at attribute level.
Thank-You
Rahul ShahHello Rajiv,
I have created an resource object with one field & created 2 process definitions i.e 1 for approval &
1 for provisioning.
Objective:= If approved by user's manager then it should copy value from resource object & set into
user profile's first name.
In approval process i have added an non-conditional task with process task adapter attached to it
& it takes value from resource object's field & set into user profile's first name field.
Also i have made changes in assignment tab i.e. Rule column=Default Rule,TargetType=Requester's
Manager & removed XELSYSADM from user column.
In provisioning process i have added an task createUser with tcCompletetask.
I have also created an rule for above task with parameters as
Type=Process Determination
Subtype=Approval
Object=My Resource Object
Process=My Process Def With Type as Approval
and created rule as
AttributeSource=ObjectDataInformation
Attribute = Column Name of my resource object's field
UserDefinedForm=Name of my resource object
Operation : ==
Attribute Value= aug30
and i added this rule in my resource object's Process Determination Rules tab.
When i checked this use case i.e.
i created an user & assigned manager to him .
Logged with newly created user & changed first name with aug30.
It doesn't show any approvals.
Is above procedure correct ? Or please guide me how to perform this task .
Thank-You
Rahul Shah -
CCMS - Change method attribute
I'm wondering if it's possible to change a methods attribute?
I'm monitoring an RFC connection using a copy of the CCMS_RFCDest_Availability_Col Method.
When I then set it up in RZ20, the object shows a performance attribute tab, instead of a status attribute tab which would be more suitable for this type of monitoring. I think this is causing me some additional problems when i was to trigger an external command as the autoreaction method to write to a logfile.
The tabs I'm talking about are available when you enter RZ20, doubleclick on a monitoring set and then click properties on a monitoring object.
Thanks and Best Regards
TomasHello,
I am using the same method in all the system to monitor RFC destination to non sap system. I can see the system in RZ20 but can not assign any method for automatic email notification. Please help me resolving it. -
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?
IanKavitha,
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 --> REJECTED --> 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 -
Workflow method problem`
Hi,
In my workflow i want to call one report in bor object i want to create method can any body tell me what are the attributes of method that i have to create or any other solutionsam getting the error when object type ->
Implemented ----"
Object type components have higher release level than object type"
First you have to Implement the Objectype Components , I mean you have to first come from Bottom to TOP
EDIT->Change Release Status> Object Type Components ---> To be Implmented (from Bottom to Top) Except the Object type
Now Click on the Business Object and the again
EDIT->Change Release Status> Object Type---> To Be IMplemented
Now once you have IMplemented every thing you need to Release them
From Top to BOttom
Click on the Business Object and the again
EDIT->Change Release Status> Object Type---> To Be Released
On Key fields and methods
EDIT->Change Release Status> Object Type Components ---> To be Released
And after this you have to generate
this is how you have to implement and release and GEnerate the BO -
Getting "SYSTEM ERROR" while generating a PDF in a Workflow method.
Dear All,
I'm getting a "SYSTEM ERROR" when I'm calling the below function module in a Workflow BO Method.
CALL FUNCTION wa_funcnm
EXPORTING
/1bcdwb/docparams = fp_docparams
invoice = invoice
IMPORTING
/1bcdwb/formoutput = fp_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
The aim is to generate the PDF and store it in DMS. Please let me know, if I'm going wrong somewhere. Any kind of inputs would be sincerely appreciated.
Regards,
Tushar.Hi Tushar
You need to the following parameters when calling FM. Background WF process cannot handle dailog.
fp_outputparams-nodialog = 'X'.
fp_outputparams-getpdf = 'X'.
Refer to Thread below
Creating Attachments to Work Items or to User Decisions in Workflows
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = l_formname
IMPORTING
e_funcname = l_fm_name.
* E_INTERFACE_TYPE =
fp_outputparams-nodialog = 'X'.
fp_outputparams-getpdf = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN OTHERS.
ENDCASE. " CASE sy-subrc
ENDIF.
fp_docparams-langu = 'X'.
fp_docparams-country = 'US'.
fp_docparams-fillable = 'X'.
CALL FUNCTION l_fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
emp_info = fs_per_info
IMPORTING
/1BCDWB/FORMOUTPUT = FP_FORMOUTPUT
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN OTHERS.
ENDCASE. " CASE sy-subrc
ENDIF. " IF sy-subrc <> 0
CALL FUNCTION 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT = result
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN OTHERS.
ENDCASE. " CASE sy-subrc
ENDIF. " IF sy-subrc <> 0.
ENDFORM. " GET_FUNCTION_MODULE
*& Form CONVERT_PDF_BINARY
FORM CONVERT_PDF_BINARY .
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = FP_FORMOUTPUT-pdf
* APPEND_TO_TABLE = ' '
* IMPORTING
* OUTPUT_LENGTH =
TABLES
BINARY_TAB = t_att_content_hex .
ENDFORM. " CONVERT_PDF_BINARY
Regards
Sandy -
Double-click to create method/attribute in EHP2 Netweaver 7.0 does not work
Hi,
this makes me wonder:
I'm used to create new attributes or methods by simply double-clicking the new name and the system will ask me to create. Now I am new in EHP2 and for methods it just says 'wrong cursor position or object not in navigation', for attributes system just does not show any reaction.
Please help me as it is really annoying always to create things from object tree or class header.
What is it I do not see?
Thanks so much.
ClemensHi,
sorry I thought it was clear: I try in the new ABAP front end editor - accessed through SE80, SE24, SE38 and anay transaction that allows you to edit code (except lousy things like the enhancement spot implementation code window).
An it is still the same: In a report, I can write perform xyz and double-click will asjk me to create a form. Just in oo context, attributes and methods should be the same - as it was since ECC600 or even before on 46C. Except our current system I don't know anyone working on EHP2 for Netweaver 7.
EHP2 just another undeclared untested Beta-Version?
I can't believe.
Regards,
Clemens -
Oracle Apps 11i - Workflow #WFM_CC attribute
Hi,
I read in Using #WFM_CC attribute and Multiple Attachments and Multiple Recipients with CC that Oracle Workflow allows CC and BCC. I have had our DBA check the version of our instance and it seems we already have the version Oracle Applications Technology 11i.ATG_PF.H.delta.5 (RUP 5) applied.
However, I'm still having problems using CC feature. I added Message Attribute with Internal Name #WFM_CC Type = Text and Source = Send. Also placed 240 for length. For testing purposes I set Default Type to Constant and hard-coded my email address to the Value field. When I run the workflow and check the workflow activities and go to the activity and click the Notification detail page icon to check the message, it doesn't show the Cc field. Only the From, To, Sent and Id are available. Does it show here if there is a Cc value? Currently we have our Notification Mailer off since this is only a development instance so this is the only way I can test it.
Appreciate any help.
Thanks,
Allensarojak wrote:
You cannot see the CC field value which you set for message attribute in worklist Notification details page as the CC field is applicable only to email. You need to setup mailer to receive the email notification and verify if the correct CC was was set.Thanks for the tip.
Will request the DBA to activate our workflow for testing.
Regards,
Allen -
SIT - Workflow -- Additional Attributes in SIT MSG
Hi,
In the SIT Process (Change Special Information) there is a sub process
(Approvers Notification Process) inside this, there is one notification *"Notify Approver"*.
This notification is having an HTML attribute in the body
*"&HR_NTF_EMBEDDED_REGION"* which is calling an OAF-Region
*"JSP:/OA_HTML/OA.jsp?OAFunc=-&HR_EMBEDDED_REGION-&NtfId=-&#NID-"*
Problem is, We have add additional attribute which will pick some values
randomely like &x &y &z
If we will add our custom attribute along with the existing attribute
"&HR_NTF_EMBEDDED_REGION" application is throwing error stating custom
attributes (&X, &Y, &Z) is not recoginized by Region
1. Attribute &X does not refer to a framework region
2. Attribute &Y does not refer to a framework region
3. Attribute &Z does not refer to a framework region
In this case i dont want to customize framework region, to call my values of attribute X,Y and Z.
How can i invoke values from Workflow Notification for the Custom Attribute with in the same notification
Please help it's bit urgent.
Thanks.
BachanHi,
We worked around for the issue. in a straight way it's not possible. Oracle has mentioned that you cant use Tokens with Attributes which is calling an JSP - Region.
We removed the attribute which is calling JSP-Region (&HR_EMBEDDED_REGION) from the notification and added our custom Attributes which will call the segments of the SIT along with our required attributes.
It's working fine.
Thanks.
Bachan. -
[Workflow]Change Attribute - Request to Modify
Hi,
Im working with Oracle Identity Administration.
I create a workflow type Change Attribute with Approval. As I expected, a button will appear next to the attribute on profile panel but I could not see that button.
So all the changes was commit without any approval.
Please help to configure the workflow so the manager could receive an email with ticket to approve change request.
Thanks.Hi,
You need to set the access to this attribute. You need to give 'modify' permission to the 'manager', and 'read' as well, the user MUST ONLY have 'read' permission this attribute. -
Another asynchronous workflow method question
Hi all.
Your previous post on this topic was great people!!
Right now I have a problem with an asynchronous method, on concrete words, is the method from object BUS2081, method EDIT.
I've created a task based on that method and I have put some terminating events on that task but looking at the WF log on runtime, the task is only waiting for some of the events and ignoring just the ones i need. I don't know what the problem is because i have configured the events exactly on the same way....any idea of what is happening?
I've solved this incidence including some parallel branches awaitiing for the events, so I'm "faking" in some way the "asynchronous" task, but this is a cheap trick...
Thank you and best regards.
IsmaelHi Ismael,
I have a quick question regarding the BUS2081 - EDIT method.
I'm using the Edit method with terminating events as POST, Delete, Park and Complete.
Assume I have workflowed the invoice for GR missing scenario once its is done I will try and Post the Invoice document if it still has errors (say Price mismatch)then I want to Repark the document using the ' Save park document' icon.
As there will be errors I can't do 'Save as Completed'.
Here I can't Repark the document until I Complete it.....:( I don't know how to handle this situtation.
Any advice is helpful.
Thank you,
Renu.
Maybe you are looking for
-
POWL OBN links do not open a pop up window in one domain
Hi I am hoping to get some helpful information on a problem with a POWL OBN links not opening a pop-up only in one domain. The issue is described below. We have deployed the BP for Buyer 1.0, SP15. One of the iViews we use is the My Purchasing Docume
-
MIGO error 'Purchase Order does not contain a confirmation control key'
Hi, while posting GR to a PO i am getting an error ' Purchase order XXXXXXXXX does not contain a confirmation control key' it is true that i have not defined any confirmation control key in PO, Aknowled rerd checkbox is also not ticked Still why this
-
Can anyone help me import .avi movies to a cloud drive so that I can play them on my iPad when I'm traveling. It is one of the only reasons I purchased the thing and I cannot figure out how to access my personal movie files from a "cloud" drive.
-
How do I find the closest value to a constant in an array
I have an array of floating numbers and I want to find a value in that array that is closest to a floating constant. For example if I have the array 5.9, 2.8, 3.7, 5.8, 6.9, and if I have the constant 5.4, how would I find the closest value to 5.
-
Hi, I'd appreciate any help on this. I'm trying to record midi drums into Logic Pro via a Yamaha DD-55 and a USB to midi cable. However, I cannot hit any note more than once, I can, for example play a snare, hi-hat, kick, hi-hat no problem, but if I