Re: [Hypercontent-users] Schedule update error
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2007-08-28 13:37:15
|
Hi , "href" is a property of a work item that indicates what should be displayed in the right hand pane of the workflow screen. Since "href" is not set in that script, you are seeing the "file not found" error - this is actually harmless, but you might want to add something like this in the top level event: <variable name="href" value="${abs-server-base}${work-path}?mode=work- details"/> That will set the right hand to display the "work details" screen. Alex On Aug 28, 2007, at 2:47 AM, tom tom wrote: > Hi, > > When I try to update the schedule parameters in the > workflow screen and press the schedule appearance > button > it gives the following error, > > what is this $href > > No file found at > http://localhost/hypercontent/production/studentDetails/ > studentUpdates/$href > > my schedule.xml looks as follows. > > > > workflow binding="/**/*.*"> > − > <event name="schedule-appearance" > permissions="approve"> > <input label="Please enter a beginning date as > YYYY-MM-DD [00-23]:[00-59]" name="start-date" > pattern="\d\d\d\d-\d\d-\d\d \d\d:\d\d" type="text"/> > <input label="Please enter an ending date" > name="end-date" pattern="\d\d\d\d-\d\d-\d\d \d\d:\d\d" > type="text"/> > <input default="-1" label="Please enter the edition to > appear before the start date (-1 for invisible)" > name="pre-edition" type="text"/> > <input label="Please enter the edition to appear on > the start date" name="start-edition" type="text"/> > <input default="-1" label="Please enter the edition to > appear on the end date (or -1 to disappear)" > name="end-edition" type="text"/> > <variable name="scheduler" value="${actor}"/> > <nq who="${scheduler}"/> > <nq q="scheduled"/> > − > <exec > command="org.hypercontent.workflow.command.SetCurrentEdition"> > <with-param name="edition" value="${pre-edition}"/> > </exec> > </event> > − > <q id="scheduled"> > − > <event name="begin-appear" when="${start-date}"> > − > <exec > command="org.hypercontent.workflow.command.SetCurrentEdition"> > <with-param name="edition" value="${start-edition}"/> > </exec> > </event> > − > <event name="end-appear" when="${end-date}"> > − > <exec > command="org.hypercontent.workflow.command.SetCurrentEdition"> > <with-param name="edition" value="${end-edition}"/> > </exec> > <dq/> > <dq who="${scheduler}"/> > </event> > − > <event name="cancel" who="${scheduler}"> > <dq/> > <dq who="${scheduler}"/> > </event> > </q> > </workflow > > > > ______________________________________________________________________ > ______________ > Pinpoint customers who are looking for what you sell. > http://searchmarketing.yahoo.com/ > |