-
Date different missing recently submitted files ?
This has happened maybe 3-4 times in the last 6 months. Normal deployments are scheduled. We also have an emergency deployment that takes submits the content and then kicks off an ipl to run iwodstart. Ran this weekend, file submitted & deployemnt kicked off. However the newly submitted file was not deployed. No mention of…
-
workflow daemon ?
What daemon (TS552 SP3, Solaris 2.8) manages workflows ? All of a sudden the task list shows up as an I/O error: An error has occured trying to obtain the todo list. The message returned by the server is: I/O error same type of error when you submit to WF. Trying to get TS restarted, but I also need to figure out what…
-
Administration transitioning tasks
I am curious how people handle this. Per the manual, you need to be the task owner or job owner to transition. To have tsadmin transition, do you normally have tsadmin as the job owner all the time ? Andy
-
IE 500
Webdesk, TS 5.5.2 SP3 have users that are getting IE500 errors. The kicker is that when I looked at the session information, the current directory was a dir that was non-existant or deleted. There was a bug supposedly fixed in SP2 that behaved this way. I am curious if anyone else sees this happen. When people get IE500…
-
Perl running twice in WF
Someone please try this, in your Perl in a WFT: (where the custom code belongs) open (LOG, "/tmp/workflow_$$.log"); print LOG "Smitty is a ...\n"; close (LOG) Then run your WF. Tell me if you get 1 file or 2 ? I am getting 2, one before the CGI popup for comments and one after. Andy
-
Perl performance ?
Decided to start a new thread, WF running very slow on one server. I decided to take the PERL out of the WF and run it standalone (as much as will run): server 1: time ./wf_test.ipl Undefined subroutine &main:lithium_ELEM__ called at ./wf_test.ipl line 388. real 0m5.76s user 0m1.78s sys 0m0.53s server 2: time ./wf_test.ipl…
-
Slow WF startup - 1 server only
Very strange Select file, submit - choose WF. on 1 server it takes about 45 seconds before the CGI for the comment & other parms comes up. On my dev server it takes 10 seconds. Other WFs are very quick. TS 5.5.2 SP3 Solaris 2.8 Neither server is heavily loaded. nothing interesting in the logs. from access_log: 172.16.48.23…
-
Error checking before CGI_Info ?
pounding my head..... I want to check the files being submitted and return an error if some conditions are not met. Since our first attempt (having a CGI task to display errors) was completely ignored by the users, I have to beat them over the head with the error. So what I want to do is identify there is an error before…
-
get iwsubmit return in perl ?
I have this command in a perl script: $submit_cmd = "/u03/iw-home/bin/iwsubmit -x $file daily_update"; $out = `$submit_cmd`; print LOG "command $submit_cmd \n out $out\n"; if ($out) { finish ("File was NOT submitted \n"); } else { print LOG "File submit successful \n"; } This will run as a cron job, but I cannot catch an…
-
Sanity check
about to refresh my dev server. So I have a good chunck of content for testing. I want to update the content with stuff from prod. Don't care about history, editions, etc. So my plan is to remove the branch, re-create WA and import the files & DCRs. Since we are sitting at 60% disk, I want to make certain the space is…
-
duplicate files in directory ?
Sol 5.8 TS 5.5.2 SP3 inside WA: ls -l -rw-rw-r-- 1 rp4977 other 2125 Oct 24 14:19 AA1ANDY -rw-rw-r-- 1 rp4977 other 2125 Oct 24 14:19 AA1ANDY -rw-rw-r-- 1 r53539 other 2046 Oct 24 13:37 AA2AN -rw-rw-r-- 1 r53539 other 2046 Oct 24 13:37 AA2AN -rw-rw-r-- 1 r53539 other 2018 Oct 24 13:37 AA3final -rw-rw-r-- 1 r53539 other…
-
Multiple returns from Nested Jobs
I have a nested job, currently it is approve only. Since the last task in the nested job is endtask, there seems to be only one return. Can you make multiple returns from a nested WF ? I have a cancel job task that I would like to invoke. Andy
-
prevent adding files to a WF ?
Haven't found this ability, but can a WF be configured to prevent users from adding files to a task ? (Besides making all task readonly) tips/pointers/RTFMs appreciated Andy
-
don't know if this is possible
I have a DCR with an owner defined (nipper, smitty, fish, etc). I want to have my WF open the DCR (easy enough) decide who owns it & make that person the approver. Currently this is done with a nested job, I want to get rid of that. My question is, currently I am reading the owner from the DCR in the start task. to get…
-
creating job files from wfts`
Have not been able to find out how to programmatically create a job file from a WFT. Anyone do this ? I have used the debug out to create one, but need to be able to fill in comment, owner, etc for a nested job. Anyone try this ? ANdy
-
Updated Troubleshooting TFO ?
Has anyone seen an updated troubleshooting TFO document ? The one on devnet is for 5.0.1, just a bit out of date since TFO has major mods for 5.6 Getting these errors: [Thu Sep 11 10:09:08 2003] [notice] child pid 9410 exit signal Segmentation Fault (11) [Thu Sep 11 10:09:39 2003] [notice] child pid 9497 exit signal…
-
i hate regex
I know this should not be hard: trying to set up a perl script to go through my templates & programmatically change something: <item name="This"><value>ABCDEF</value></item> or <item name="This"> <value>ABCDEF</value> </item> replacing ABCDEF with something else (and only want to replace ABCDEF associated with "This") What…
-
Maybe someone can get a better approach than mine.
Here is the situation: I have ~ 15,000 files in TS. Most of which are referenced by a DCR. DCR1 -> file1 DCR2 -> file2 file3 DCR4 -> file4 So what I want to do is find all of files not referenced by DCRs. First thought, read DCR, set EA on file it points to, when done, search through the structure for files without the EA.…
-
Vis Format browse button not working
TS 552 SP3. Solaris with Win client IE 6. One user, when she uses VF, new hyperlink browse to file, the browse window never pops up. Checked config, reinstalled VF to no avail. Anyone see this before ? TIA Andy
-
Browser Compatability Matrix ?
Is there a broswer compatibility matrix available ? The datasheets reference IE 5.0 and Netscape 4.7. The admin manual references IE 5.5 as the highest level, is there an update available ? Esp planning for 6.0 Also concerned about Mac support. TIA Andy
-
inserting data into DCRs.....
OK, so I have ~ 12K DCRs that are missing a field, cause we added it after the fact. Users said no problem. Now we want to add the data so it will get pushed out. I can tell the users to open all 12K DCRs, then save. :-) Or I can look at a perl script. I have written several to recursively go down a directory structure,…
-
custom menu items, impersonation
I have a custom menu that traverse the directory structure, grabbing DCRs, slurping them in, if s/$this/$that/ happened, writing it out. The problem is that iwui needs world write access to do this. iwui is a member of the group (secondary group not Primary) which has write access to the file, but no go. If I give world…
-
Perl get suffix ?
i have am trying to get the suffix from a directory (.html). I tried using fileparse but it is not consistant without a suffix list: #!/iw-home/iw-perl/bin/iwperl use File::Basename; $src="/tmp/test/AA3.FINAL.TXT"; ($base, $dir, $suffix) = fileparse($src); print "Base $base dir $dir suffix $suffix\n"; yields: Base…
-
Hyperlink to browse ?
IW has nice links we can put into an HTML doc to edit, etc TS documents. Is there anything we can do to open a GUI to a specific directory ? Even better, a link that would change my current GUI to the appropriate spot ? I have a JSP, run from a custom menu that queries for specific information, (find a doc that looks like…
-
non-owner unlocks
So I am going to have to implement a way for users to unlock other people's files (I know this is a big gun, don't shoot your self). So, since these users work in the same WA and tsadm owns the WA, my thought is to make tsadm only an editor and give select users the login so they can unlock it. My second option is a custom…
-
Default values in DD ?
I am doing DD deployment, TST -> oracle, DD 5.6 Trying to get, when there is a null value in a size DCR, to get a default of 0. So I tried using the substitution, but nothing happened, here is what I used: <substitution name="GlobalSubstitution"> <field name="filesize" match="" replace="0" /> </substitution> Any tips,…
-
FormAPI import....
We are collecting metadata with templates, allowing the end user to import documents (and keeping the document and the template in sync). So we have an import button the the DCT, it grabs a file & copies it to /tmp (Solaris 552) The rub is that I have never been able to get it to properly move it from /tmp to a workarea.…
-
the job that won't end...
Anyone see this before (5.5.1 SP3) have a WF stuck in the end state. We are running hundreds of these jobs per day so I boubt it is the WFT. There is no choice to remove job: Job Name (ID): Concurrent_Approval (52574) Created: 07/14/2003 12:35 Owner: r9aahl Creator: r9aahl Description: Operation - NA Task Name (ID) EndTask…
-
Perl -R implementation
So I have been hacking a few utils to find specific info in a template. Since we are not using DAS, metadata search is not an option. My first (and knowingly slow) plan was: find . -type f ! -name "*.js" ! -name "*.cfg" ! -name "*.tpl" -exec script.ipl {} \; I put a short script to validate XML as a test. This took 28…
-
IW functions in iwperl ?
So I am doing some massive EA setting and checking. Reading fish's perl tips, I would be better off if there was a perl module that I could call for iwextattr rather than back-ticking it. Also, fish, if you are on-line, did you ever do any benchmark testing of find vs perl ? my choice is: find /iwmnt/branch/workarea -type…