+ Reply to Thread + Post New Thread
Results 1 to 10 of 10
  1. #1
    yaznesh's Avatar
    yaznesh is offline Forum Advisor
    Join Date
    07 Feb 2009
    Location
    Hyderabad
    Posts
    51
    Say Thanks
    1
    Thanked 0 Times in 0 Posts
    Documents
    0
    Uploads
    0

    Question Getting Error while using Tokens

    hi sadik,

    please help me below issue,

    when i am using Stellent content server , I created a criteria workflow , in that workflow i used token for a step .. i was able to login for specified user in token. but i unable to trigger to another workflow.( here i created jump conditon for target step)

    when i login to specified user as token .its unable to work review action like (approve/reject)

    i got an error like below...

    Content Server Request Failed
    Unable to approve content item 'CHKDOC02'. The user is not a reviewer for the content item at step Head_of_Dept.

    2) let me know , how to create Tokens using filed attribute ?? how its works ??

    when i given specified user, its got released , when checkin docments .its did't not go to the Review state


    i humble requsting to you...to solve this issue.


    do needful ,
    yaznesh
    Last edited by yaznesh; 02-25-2009 at 09:04 AM.

    yaznesh

  2.    Club-Oracle Complementary E-Books and Magazines
    Get your free Complementary Copy of Oracle Magazine

    You can also browse the Free Magazines and E-Books section to see the complete list of free magazines, e-books and Whitepapers.

  3. #2
    markH's Avatar
    markH is offline Forum Advisor
    Join Date
    12 Nov 2008
    Location
    Kansas
    Posts
    85
    Say Thanks
    0
    Thanked 20 Times in 9 Posts
    Documents
    0
    Uploads
    1

    Default Re: Getting Error while using Tokens

    you got the error because your token was unable to evaluate to a specific user or class of users. I explained you the usage on this thread:

    How to use Tokens using stellent

  4. #3
    yaznesh's Avatar
    yaznesh is offline Forum Advisor
    Join Date
    07 Feb 2009
    Location
    Hyderabad
    Posts
    51
    Say Thanks
    1
    Thanked 0 Times in 0 Posts
    Documents
    0
    Uploads
    0

    Default Re: Getting Error while using Tokens

    hi ,
    Thank you for ur Reply,

    but, even i have also used this condition as a token <$wfAddUser(getUserValue("uHOD"), "user")$> its showed error.

    in actual scenario, i have created one user called Suresh and i kept Reveiwer name as jordan in suresh's HOD attribute filed.

    But , In my workflow, an item is routed to a user's HOD ( Head of Dept). The user in the step is set with the following token:
    <$ wfAddUser(getUserValue('uHOD'), "user")$>

    The HOD gets an email notification and the workflow shows up in the HOD’s queue. So the s HOD 's ID has been correctly added to the workflow.

    But the HOD gets an error if attempting to approve or reject the workflow item. The error message is:
    Unable to approve content item 'SD-000043'. The user is not a reviewer for the content item at step Approval_by_HOD.

    The workflow is then stuck and has to be cleared by the sysadmin.


    so, Kindly resolve this issue. please save me ....

    Do needful

    yaznesh

  5. #4
    Sadik's Avatar
    Sadik is offline Administrator
    Join Date
    03 Aug 2008
    Location
    Kolkata, India
    Posts
    1,184
    Say Thanks
    7
    Thanked 83 Times in 54 Posts
    Documents
    4
    Uploads
    2

    Default Re: Getting Error while using Tokens

    I tried out your scenario and yes i am getting the error too. I couldn't figure out really what was missing. Interestingly no documentation exists for the error. You should raise an SR with Oracle for this.

    Interestingly i see some issues with your design. Will every user have different HODs? wouldn't it be a better idea to have a custom metadata field for Department. When a user checks in a document he should select the department from an option list and you can have criteria workflows based on department values. WOuld be easier, scalable. You can create aliases for your HOD and add alias to your criteria workflow. Then if your HOD changes, you just need to change user in the alias.
    Learn Oracle with Oracle forum. Check out The Technology Blog

  6. #5
    markH's Avatar
    markH is offline Forum Advisor
    Join Date
    12 Nov 2008
    Location
    Kansas
    Posts
    85
    Say Thanks
    0
    Thanked 20 Times in 9 Posts
    Documents
    0
    Uploads
    1

    Default Re: Getting Error while using Tokens

    i agree Sadik, fixing HODs per user is not a good solution, yaznesh. You should follow Sadik's advice. If you make profiles for departments, the user won't even have to select the department.

    Howver if you must use the TOKEN approach, you should raise an SR with oracle because i wouldn't dispute Sadik's word on that

  7. #6
    yaznesh's Avatar
    yaznesh is offline Forum Advisor
    Join Date
    07 Feb 2009
    Location
    Hyderabad
    Posts
    51
    Say Thanks
    1
    Thanked 0 Times in 0 Posts
    Documents
    0
    Uploads
    0

    Default Re: Getting Error while using Tokens

    hi all,

    i got solved this issue,

    now i have sucessfully reached to another step,

    i tried out a code ..now, its accespting approve / rejection condition,

    if anybody facing a problem using tokens to the approval and rejection condition for specified user
    hopefully the following step will helpful, please try this

    Code :
    <$getValueForSpecifiedUser(wfGet(dDocAuthor,"uManager"))$>

    Regards,
    yaznesh

    yaznesh

  8. #7
    Sadik's Avatar
    Sadik is offline Administrator
    Join Date
    03 Aug 2008
    Location
    Kolkata, India
    Posts
    1,184
    Say Thanks
    7
    Thanked 83 Times in 54 Posts
    Documents
    4
    Uploads
    2

    Default Re: Getting Error while using Tokens

    hi yaznesh, thanks for posting the solution, appreciated!
    Learn Oracle with Oracle forum. Check out The Technology Blog

  9. #8
    yaznesh's Avatar
    yaznesh is offline Forum Advisor
    Join Date
    07 Feb 2009
    Location
    Hyderabad
    Posts
    51
    Say Thanks
    1
    Thanked 0 Times in 0 Posts
    Documents
    0
    Uploads
    0

    Default Re: Getting Error while using Tokens

    hi,

    i had find out a code for user field attributes of tokens

    hopefully, u can use this code

    it may helpful ...

    Code :
    <$wfAddUser(getValueForSpecifiedUser(dDocAuthor,"uManager"),"user"$>

    regards,
    yaznesh

    yaznesh

  10. #9
    Sadik's Avatar
    Sadik is offline Administrator
    Join Date
    03 Aug 2008
    Location
    Kolkata, India
    Posts
    1,184
    Say Thanks
    7
    Thanked 83 Times in 54 Posts
    Documents
    4
    Uploads
    2

    Default Re: Getting Error while using Tokens

    hi, so with this ur HOD is able to approve/reject without the error?
    Learn Oracle with Oracle forum. Check out The Technology Blog

  11. #10
    yaznesh's Avatar
    yaznesh is offline Forum Advisor
    Join Date
    07 Feb 2009
    Location
    Hyderabad
    Posts
    51
    Say Thanks
    1
    Thanked 0 Times in 0 Posts
    Documents
    0
    Uploads
    0

    Default Re: Getting Error while using Tokens

    hi,

    why not ??

    i have resolved my issue using tokens for user attribute field,
    now my mind got free ...

    i added this code for similar workflows using token...

    please try once..

    Regards,
    yaznesh

    yaznesh

Similar Threads

  1. How to use Tokens using stellent ??????
    By yaznesh in forum Oracle Fusion Middleware
    Replies: 1
    Last Post: 02-26-2009, 02:15 PM

Tags for this Thread