ADFc: No outcome metadata specified for method call activity 'null' !
While defining task flow method activities by EL binding to a method in managed bean, there are certain things you need to be aware of. These points are well documented in Fusion Developer's Guide under 15.5 Using Method Call Activities.
I'm explaining a very common mistake when you EL bind a manged bean method as method activity for a task flow. In this case, if your method return some status message and you want to control navigation cases based on this outcome, its required to specify 'toString()'[displayed under Outcome group] as 'true' from the drop down list, as shown in the following screen shot.
to-string: If specified as true, the outcome is based on calling the toString() method on the Java object returned by the method.
If you miss the above step(setting 'to-string'), then ADF run time may not invoke your method as its incomplete, and may result in unexpected result as well. If you see the log, you may notice a warning message as shown below.
ADFc: /WEB-INF/task-flow-definition.xml#task-flow-definition:
ADFc: No outcome metadata specified for method call activity 'null'.
ADFc: /WEB-INF/task-flow-definition.xml#task-flow-definition:
ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['method-call', 'someMethodCall'].
I'm explaining a very common mistake when you EL bind a manged bean method as method activity for a task flow. In this case, if your method return some status message and you want to control navigation cases based on this outcome, its required to specify 'toString()'[displayed under Outcome group] as 'true' from the drop down list, as shown in the following screen shot.
<method-call id="someMethodCall">
<method>#{backingBeanScope.managedBean1.doSomething}</method>
<outcome id="__16">
<to-string/>
</outcome>
</method-call>
to-string: If specified as true, the outcome is based on calling the toString() method on the Java object returned by the method.
If you miss the above step(setting 'to-string'), then ADF run time may not invoke your method as its incomplete, and may result in unexpected result as well. If you see the log, you may notice a warning message as shown below.
I am feeling great to read this.you gave a nice info for us.please update more.
ReplyDeletePython Training in Chennai
Python Training Institute in Chennai
JAVA Training in Chennai
Hadoop Training in Chennai
Selenium Training in Chennai
Python Training in Chennai
Python Training in Tambaram
important blog with fresh content
ReplyDeletepython courses in Bellandur|python courses in Marathahalli
selenium testing Training in Bellandur|selenium testing Training in Marathahalli
it was a great informative blog. thanks for it
ReplyDeletepython courses in Bellandur|python courses in Marathahalli
selenium testing courses in kalya Nagar|selenium courses in Marathahalli
devops courses in Bellandur|devops courses in Marathahalli
python courses in bangalore|python training in bangalore
ReplyDeleteI went through your blog its really interesting and holds an informative content. Thanks for uploading such a wonderful blog.
python courses in Bellandur|python courses in Marathahalli
selenium testing courses in kalya Nagar|selenium courses in Marathahalli
devops courses in Bellandur|devops courses in Marathahalli
python courses in bangalore|python training in bangalore
Its an interesting blog with informative content. Thanks for this blog
ReplyDeletepython courses in Bellandur|python courses in Marathahalli
selenium testing courses in kalya Nagar|selenium courses in Marathahalli
devops courses in Bellandur|devops courses in Marathahalli
python courses in bangalore|python training in bangalore
python courses in bangalore
Your post is really awesome. It is very helpful for me to develop my skills in a right way.keep sharing such a worthy information
ReplyDeletepython training in marathahalli|python training in Bellandur
selenium training in bangalore|selenium training in kalyan nagar
devops training in bangalore|devops training in Marathahalli
phthon training in bangalore
Your post is just outstanding! thanx for such a post,its really going great and great work.
ReplyDeletepython training in kalyan nagar|python training in marathahalli
selenium training in marathahalli|selenium training in bangalore
devops training in kalyan nagar|devops training in bellandur
phthon training in bangalore
Your post is really awesome. It is very helpful for me to develop my skills in a right way.keep sharing such a worthy information
ReplyDeletesalesforce Training in Bangalore
uipath Training in Bangalore
blueprism Training in Bangalore
Great list, thanks for details explanation.
ReplyDeleteDevOps Online Training
Your post is just outstanding! thanx for such a post,its really going great and great work.
ReplyDeletesalesforce Training in Bangalore
uipath Training in Bangalore
blueprism Training in Bangalore
I went through your blog its really interesting and holds an informative content. Thanks for uploading such a wonderful blog.
ReplyDeleteData Analytics with R Training in Bangalore|Hadoop training center in bangalore
AWS training in bangalore|AWS training in marathahalli
Python training in marathahalli|Python training in bangalore
Hadoop training in marathahalli
Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
ReplyDeletesalesforce Training in Bangalore
uipath Training in Bangalore
blueprism Training in Bangalore
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteaws Training in Bangalore
ReplyDeleteVery creative and very informative content. This idea is a nice way to improve the sharing of knowledge thanks...
ReplyDeleteaws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore
Lovely tutorial. Thank you for sharing, I went through your blog, it assisted me a lot and I got some fresh data as well...
ReplyDeleteaws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore
This is most informative and also this post most user friendly and super navigation to all posts. Thank you so much for giving this information to me.selenium training in bangalore
ReplyDeleteReally a awesome blog for the freshers. Thanks for posting the information.devops training in bangalore
ReplyDelete
ReplyDeleteWe ensure that the best python course in Delhi at APTRON Solutions will be more practical oriented. Toward the end of the course, you will have a lot of knowledge to develop a Python Application alone. At long last, APTRON Solutions ensures the Best Python training with Project experience over the span of your training program.
For More Info: Python Course in Delhi