How to have decision making in UWL?

Hi All,
I have a customized subview which provides me the required tasks and for the same I have added two more columns for Approval and Rejection which are basically checkboxes.
I have a Submit button as well. Based on the selection of the check boxes I have to perform some action on click of the submit button.
Currently I am getting an error "This action is not valid for this item".And thus I am not able to achieve the requirement of decision making.
I request you all to share your experience so that I can proceed.
Regards
DK

Hello Atul,
I have edited the XML code as follows. So, Let me know where I am having the possible error. I am really confused and its going hard.
<?xml version="1.0" encoding="utf-8" ?>
  <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd' []>
<UWLConfiguration >
<ItemTypes>
<ItemType name="uwl.task.webflow.TS99900016.E01CLNT100" connector="WebFlowConnector" defaultView="myApprovalRejectView" defaultAction = "Approve">
<ItemTypeCriteria systemId="E01CLNT100" externalType="TS99900016" connector="WebFlowConnector" />
<CustomAttributes>
   <CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="BUS2042" cacheValidity="final">
   </CustomAttributeSource>
</CustomAttributes>
</ItemType>
</ItemTypes>
<Views>
<View name="myApprovalRejectView" selectionMode="NONE" width="100%" supportedItemTypes="uwl.task.webflow.TS99900016.E01CLNT100" columnOrder="attachmentCount, detailIcon, priority, subject, createdDate, status ,approveCol, rejectCol"
sortby="createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="999" dueDateSevere="0" dueDateWarning="0" emphasizedItems="new" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="top">
<Descriptions default="Refund Approval">
<ShortDescriptions>
<Description Language="en" Description="Refund Approval"/>
</ShortDescriptions>
</Descriptions>
<DisplayAttributes>
<DisplayAttribute name="approveCol" type="checkbox" width="" sortable="no" format="default" actionRef="approve" hAlign="CENTER" vAlign="TOP" maxTextWidth="0" headerVisible="yes">
<Descriptions default="">
<ShortDescriptions>
<Description Language="en" Description="Approve"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
<DisplayAttribute name="rejectCol" type="checkbox" width="" sortable="no" format="default" actionRef="reject" hAlign="CENTER" vAlign="TOP" maxTextWidth="0" headerVisible="yes">
<Descriptions default="">
<ShortDescriptions>
<Description Language="en" Description="Reject"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
<DisplayAttribute name="subject" type="user" width="" sortable="no" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Name">
<ShortDescriptions>
<Description Language="en" Description="Name"/>
</ShortDescriptions>
</Descriptions>
<!--
<Menu>
<MenuItem name="accept" actionRef="accept" referenceBundle="zapprove" />
<MenuItem name="reject" actionRef="reject" referenceBundle="zreject" />
</Menu>
-->
</DisplayAttribute>
<DisplayAttribute name="createdDate" type="date" width="" sortable="yes" format="medium" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Created Date">
<ShortDescriptions>
<Description Language="en" Description="Created Date"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
</DisplayAttributes>
<Actions>
<Action name="refresh" reference="refresh"/>
<Action name="removeFromNavigation" reference="removeFromNavigation"/>
<Action name="addToNavigation" reference="addToNavigation"/>
<Action name="submitUserDecisions" reference="submitUserDecisions"/>
<Action name="cancelSubprocess" reference="cancelSubprocess"/>
<!-- UserDecisionHandler-->
<Action name="accept" groupAction="yes" userDecision="yes" handler="submitUserDecisions">
<Properties>
<Property name="accept" value="0"/>
</Properties>
<Descriptions default="accept"/>
</Action>
<Action name="reject" groupAction="yes" userDecision="yes" handler="submitUserDecisions">
<Properties>
<Property name="reject" value="4"/>
</Properties>
<Descriptions default="reject"/>
</Action>
<Action name="Cancle" groupAction="yes" userDecision="yes" handler="cancelSubprocess">
<Properties>
<Property name="Cancle" value="0"/>
</Properties>
<Descriptions default="Cancle"/>
</Action>
</Actions>
</View>
</Views>
</UWLConfiguration>
Regards
DK

Similar Messages

  • How do I send a rescue email? I also have problems making a rescue email

    How do i send a rescue email? I also have problems making a rescue email!?

    Hi JOFFERY,
    Thanks for visiting Apple Support Communities.
    If you need to add or change a rescue email on your Apple ID, see this article:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    You can edit or delete your rescue email address at My Apple ID. To edit your rescue email address:
    Navigate to My Apple ID using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    Note: The option to send an email to reset your security questions and answers will not be available if a rescue email address is not provided. You will need to contact iTunes Store support in order to do so.
    All the best,
    Jeremy

  • Problem with decision making

    Hi All,
    I have a customized subview which provides me the required tasks and for the same I have added two more columns for Approval and Rejection which are basically checkboxes.
    I have a Submit button as well. Based on the selection of the check boxes I have to perform some action on click of the submit button.
    Currently I am getting an error "This action is not valid for this item".And thus I am not able to achieve the requirement of decision making.
    I request you all to share your experience so that I can proceed.
    Regards
    DK

    Hi.
    If I understand it correctly, the user will either perform the Accept action, or the Reject action.
    So why dont you use a radio button group, instead of checkboxes. the given error will not occur.
    With checkboxes, you will have 4 altenatives, not two.
    Another alternative is using two buttons, which is also used in the workflow scenario. But this option depends on how you have planned your event handling.
    regards,
    Kshitij.

  • How can I disable making live shape rectangle in the first place but normal one instead in Illustrator CC?

    How can I disable making live shape rectangle in the first place but normal one instead in Illustrator CC? When I create rectangle I can't transform it by dragging and it's only the problem with rectangle, not with circle, star etc. I try show/hide edges/bounding box reset preferences and reinstall whole illustrator CC and it's the same. I can only make this right by expand this rectangle, which is shape as is turn out to rectangle by clicking object>shape>expand rectangle. But this is so frustrating. Help!:) oh, and I use OSX. My friend has the same specs and it's works. I mean she can use live shape corner transformations and changing size by draging:(

    I’ve created my own plugin (available for free for personal and commercial use) which imitates behavior of the ‘old’ Rectangle Tool. It doesn’t replace the Live Rectangle – it works completely independent!
    My Plain Rectangle Tool correctly snaps to grids/objects/points and correctly aligns to grid/points on resize. Of course it supports the SHIFT and ALT/OPTION keys, Snap to Grid and Smart Guides options. In other words it works almost 100% the same as the Rectangle Tool we know from CC (17.1), CS6 and earlier.
    The installation package (zxp) adds ‘Plain Rectangle Tool’ icon into the Ai panel (of curse you can assign your custom keyboard shortcut to it as well)
    Note: The Plain Rectangle can be easily converted into the Live one using Object > Shape > Convert to Rectangle
    Grab your copy at http://63mutants.com/subc/products/PlainRectangleTool_m01/PlainRectangleTool_m01.php Feel free to share with your friends. It’s completely free.
    I’ve also created a separate discussion https://forums.adobe.com/thread/1587587 for the Plain Rectangle Tool. If you have any comments or request please post it there. Any feedback would be greatly appreciated!
    Thanks,
    Pawel Kuc

  • My Ipod Touch won't play music.  When I click on Itunes, all it does is open the ITunes Store.  There are no playlists at all, but they show up on my computer just fine.  I have tried syncing several times, and have tried making a new playlist.

    I have tried making a new playlist, and have synced it a gazillion times.  This all happened when I bought a new computer and transferred my Ipod to it...with upgraded Itunes software.  I have tried everything.

    Thanks -- actually I worded the question wrong.  I was trying to find my songs icon and kept reloading Itunes to try to find it.  All I could get was the store.  I finally figured out how to reset the desktop and I got my icon back.  Thanks for your answer.

  • How to display multiple attachments in UWL item in portal?

    HI,
    How to display multiple attachments in UWL item in portal?
    I want to display more than one attachment in UWL body,present its dispalying one attachment.
    Pls help on this
    Thanks,
    Bheem
    Edited by: v bheem on Aug 4, 2009 3:10 PM

    Hi,
    Are you able to manage this! Pls do let us know if you have done any configuration changes!

  • Issue with User decision handler in UWL

    Hi Friends,
      I am facing an issue with user decision hander in UWL. We have modified the XML file to show up the comments box to enter the rejection reason, this is working fine with two approval tasks already but the same thing is not working now with a new task id. In the back end(R/3) everything is the same for both the tasks, in the Portal side my portal consultant says the same. But we were not able to figure out the issue. I even created a new task and tried to use implement the handler changes, but still it is not working. Please advice what could be the issue

    Hi,
    can you elaborate what the issue, what do you mean by not working. you are not getting the reason box, or it's giving error,something like that.
    Hope we'll be more clear then about your requirement.
    venu

  • I have iMovie '11 and I have completed making my movie, but I don't have iDVD.  Doesn't iDVD automatically come with iMovie?

    I have iMovie '11 and I have completed making my movie, but I don't seem to have iDVD.  Doesn't iDVD automatically come with iMovie?

    Why is there no iDVD on my new Mac? How do I get it and how do I install it?
    https://discussions.apple.com/docs/DOC-3673

  • How to have pop screen

    Hello guys,
    Can you help me how to have a pop up screen to get new data to be Append in a database table when you click a push button.
    Can you give me sample program/codes how to do this or useful FM perhaps.
    I badly need to know this guys.
    Please please help me.
    Thank You so much for your help.
    God bless you.
    Chen

    Hi,
    try using any one of the function modules,
    POPUP_TO_CONFIRM_STEP
    It ceate a dialog box in which you make a question whether the user wishes to perform the step.
    POPUP_TO_CONFIRM_WITH_MESSAGE 
    It create a dialog box in which you inform the user about a specific decision point during an action.
    POPUP_TO_CONFIRM_WITH_VALUE
    It creates a dialog box in which you make a question whether the user wishes to perform a processing step with a particular object.
    POPUP_TO_DECIDE
    It provides user with several choices as radio buttons
    POPUP_TO_DECIDE_WITH_MESSAGE
    It creates a dialog box in which you inform the user about a specific decision point via a diagnosis text.
    POPUP_TO_DISPLAY_TEXT
    It creates a dialog box in which you display a two line message

  • How to have audio widget start automatically

    how to have audio widget start automatically when you turn the page in Ibook Author. I only see a loop funktion for the widget.

    So I cannot use ibook author if I want this feature ?
    You can't publish to iBooks if you want that ability. Doesn't matter what you use.
    Making apps can be non-trivial. If you are curious about them, see the Developer forums here and the Dev Center when it comes back online.

  • I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically. Can some one out there help me?

    I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.

    Update automatically under which circumstances, exactly?

  • How to have a live feed from application server log file (realtime viewr )

    how to have a live feed from application server log file (realtime viewr for apps log files)
    hi , thank you for reading my post.
    is there any way to have a live feed of Application server log ?
    for example is there any application that can watch the log file and show the changes as new log items come in ?
    can some one with more experience help ?

    Your question would be more suited to the Developer Forums
    http://devforums.apple.com
    but anyway...
    My goal is to develop a web application that is able to run on iPhone too, to capture the audio and video content from its camera and mic.
    Web Apps running in Safari don't have access to the camera or mic hardware.
    Or I should built a native application distributed through Apple store?
    That is your only option, although such a system already exists:
    http://itunes.apple.com/us/app/ustream-live-broadcaster/id319362690?mt=8

  • How to have Safari links always open in same window

    I've been researching how to have Safari always open links in the same window, but it appears this can't be done?  I've seen this third party app, but am afraid of installing something that doesn't come from the app store because it might harm my macbook.  Does anyone have any thoughts about how to have links always open in the same window? Or how to find out if I can trust this app:
    http://canisbos.com/linkthing

    You can reset the folio by triple tapping the title in the nav bar.
    Bob

  • OAF matester detail page : How to have a "Show All" feature on screen, so that all the master and details records are expanded .

    Hi ,
    I was trying to have a "SHOW ALL" feature on the master - detail page,
    the detail table is an advancec table.
    Please help me with inputs on how to have  "SHOW ALL" feature,
    Currently, we have to click on  ":Show" for each record at master level to view the child data.
    Trying to achive "Show All" Feature so that on click of this the master records on the page 'Expands"  showiing all master records with respective detail records.
    Regards
    bhuvanm

    Hi,
    You should not set DetailFlag = "Y" in whereclause because there is no such record.
    Also detail flag is transient attribute and not the query column, hence the error "Invalid indentifier".
    I asked you to use DetailFlag as query column with static value "Y".
    for example:
    SELECT "Y" detail_flag
    FROM <table_name>
    This will display all the table records in expanded format. if you want it conditionally then use decode on some bind parameters.
    For example:
    SELECT DECODE(:1, "SHOWALL", "Y", "N") detail_flag
    FROM <table_name>
    This bind parameter should be passed whenever you want to execute query for the table.
    Regards,
    Sandeep M.

  • HT4314 I have a iPad and iPhone with the same Apple ID, but on Game Center I have used the same id for both devices and they are two different profiles and I was wondering how to have one of the accounts on both devices.

    I have a iPad and iPhone with the same Apple ID, but on Game Center I have used the same id for both devices and they are two different profiles and I was wondering how to have one of the accounts on both devices.

    Hi Jamesdwills,
    Welcome to the Support Communities!
    If you are using the same Apple ID on both devices, the Game Center profile should be the same.
    Check out this information from the iPad User Guide.  Try signing out of the Game Center on both devices and then sign back in with the correct Apple ID:
    Using Game Center
    http://support.apple.com/kb/ht4314
    Game Center settings - iPad User Guide
    http://help.apple.com/ipad/7/#/iPad9a13d039
    Game Center settings
    Go to Settings > Game Center, where you can:
    Sign out (tap your Apple ID)
    Allow invites
    Let nearby players find you
    Edit your Game Center profile (tap your nickname)
    Get friend recommendations from Contacts or Facebook
    Specify which notifications you want for Game Center. Go to Settings > Notifications > Game Center. If Game Center doesn’t appear, turn on Notifications.
    Change restrictions for Game Center. Go to Settings > General > Restrictions.
    Cheers,
    - Judy

Maybe you are looking for