Thread: Getting Error while using Tokens
- 02-24-2009 01:02 PM #1
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 ,
yazneshLast edited by yaznesh; 02-25-2009 at 09:04 AM.

yaznesh
- 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.
- 02-26-2009 02:18 PM #2
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
- 02-27-2009 04:04 AM #3
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
- 02-28-2009 04:12 PM #4
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
- 03-01-2009 04:37 AM #5
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
- 03-01-2009 02:49 PM #6
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
- 03-01-2009 02:59 PM #7
Re: Getting Error while using Tokens hi yaznesh, thanks for posting the solution, appreciated!
Learn Oracle with Oracle forum. Check out The Technology Blog
- 03-02-2009 04:59 PM #8
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
- 03-02-2009 05:04 PM #9
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
- 03-02-2009 06:39 PM #10
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
-
How to use Tokens using stellent ??????
By yaznesh in forum Oracle Fusion MiddlewareReplies: 1Last Post: 02-26-2009, 02:15 PM


LinkBack URL
About LinkBacks
Reply With Quote
