How to simplify a cumbersome workflow?

Nearly everyday I need to update 5 large .html pages, each currently around 1.5 MB. The work involved to get these pages published is cumbersome to say the least and time consuming. I'm looking for tips or suggestions on ways to achieve this more easily and in less time.
Details:
The pages in question are: http://ppbm5.com/Benchmark5.html and the http://ppbm5.com/Benchmark5-1.html thru http://ppbm5.com/Benchmark5-4.html
Step 1, Excel:
The data are processed in Excel, sorted in 5 different ways and each sorted page is exported as a .html page. Due to some bugs in Excel, each export needs to be done with the active sheet zoomed to 10% of the original size, otherwise the conditional formatting is compromised.and messed up. So, after export, reset the zoom to 100%, resort the sheet on a different test, zoom to 10%, export to .html, zoom to 100%, resort, etc.
While not very convenient, I have not found an alternative, because the conditional formatting and color coding is crucial, so using tables in DW is not an option.
Step 2, .vbs script:
A simple .vbs script is run from the desktop and that inserts in each of the created .html files the necessary code for Spry Tooltips, Lightbox and Scroll-to-Top in a very easy and reliable way. So far, so good.
Step 3, the cumbersome process:
Each of the five pages needs to have a Spry menu inserted in a specific cell of each spreadsheet. In Excel terms cell A2/A3 (merged).
The original code in each .html page to be replaced is:
<td rowspan=2 height=67 class=xl2179194 style='border-bottom:.5pt solid black;
height:50.25pt'> </td>
and needs to be replaced with this:
<td height=67 rowspan=2 bgcolor="#EEE" class=xl2179194 style='text-decoration: none; border-bottom:.5pt solid black; height:50.25pt'>
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="http://ppbm5.com/index.html">Home Page</a> </li>
<li><a href="#" class="MenuBarItemSubmenu">Sort Results by</a>
<ul>
<li><a href="http://ppbm5.com/Benchmark5.html">Overall Results</a></li>
<li><a href="http://ppbm5.com/Benchmark5-1.html">Disk I/O Results</a></li>
<li><a href="http://ppbm5.com/Benchmark5-2.html">MPEG2-DVD Results</a></li>
<li><a href="http://ppbm5.com/Benchmark5-3.html">H.264-BR Results</a></li>
<li><a href="http://ppbm5.com/Benchmark5-4.html">MPE Results</a></li>
</ul>
</li>
</ul>
</td>
Notice: The bold figures in the code above, currently 217 can vary from page to page and from day to day. This is an Excel anomaly that is unexplainable to me. One day the first page may show 199 as the first figure and the other pages may show 198, the next day the first page may show 217 on the first page and 218 on subsequent pages.
Due to some limitations of .vbs scripting and the strange Excel behavior, I have not found a method to automatically replace this code, because it is no longer static, as the rest of the script is.
Current workaround:
I know that in the .html pages, this code is somewhere in the vicinity of line 3514. So in DW I scroll down to around that line, delete the two unneeded lines and with copy/paste from a text file insert the replacement code and correct the 'class=xl2179194' manually to the correct number. This has to be repeated for each of the 5 files.
As you can understand, far from ideal.
Step 3, uploading and optimizing:
Upload the saved .html files to the site, refresh in FF, use Firebug/Pagespeed to create a compressed .html (saves around 33 KB per file), upload again, refresh and then the next tedious step starts.
Step 4, removing unused CSS code:
Refresh the page in FF, analyze with Firebug/Pagespeed and remove the unused CSS code from the page (saves around 68 K per file) by going back to DW and manually remove all the lines on unused code from bottom to top, for instance removing lines 200-198-197-195-194- 189-186-...-23-22-21-20. Then save the file again, upload and repeat this exercise for the other files.
These optimizing steps generally result in a page speed index that improves from 81 to 85, sizable enough IMO to justify the effort, but this is cumbersome, tedious and error prone. But with the way Excel works with exports of .html files I feel like I'm in a bind.
Can anyone suggest a better, more effective workflow that is less time-consuming.

Thank you for your attention. I know it is often suggested to export to a database or table, but the giant complexity of all the conditional formatting with legends and color grading, based on various calculations, the added and automated charts that are based on a number of calculations as well, make that approach extremly complex, not a task I look forward to.
I don't think it's any more complex that what you're currently doing on an almost daily basis
The real issue to me is letting go of the current mindset which has obviously evolved and developed this precision exercise over time.
To me, it now has the hallmarks of a Rube Goldberg invention and is obviously a burden for you to maintain.
It's often difficult to break away from, and re-think, projects that you're close to and have an intimate knowledge of.
Is the current format set in stone or can it be done a different way? I assume you have a skilled readership which is able to digest that data as presented?
All the conditional formatting on those pages is part of Excel's toolkit to try and offer some visual meaning and comprehension to the data displayed.
This can just as easily be done with queries, filters and formatting with a database approach. In addition, a database approach allows you to re-sort, analyze and present the data in countless different ways which the current rigid presentation does not allow.
Just some thoughts.
It would already simplify my current workflow, if I were able to instruct DW to delete lines in the .html code in the following sequence:
200 - 198 - 197 - 195 - 194 - 191 - 189 - 188 - 186- 185 - 183 - 181 - 180 - 179 - 176 - etc.
Notice you have to start with the highest number first and work from there to the lowest numbered line.
Do you happen to know if it is possible to enter this list of line numbers once and then instruct DW to delete these lines in the order indicated for all open documents?
Long shot: It may be possible via RegExp expressions but I'm not skilled in the use of those. However, you're probably better off doing that manually.

Similar Messages

  • How to re-start the workflow for Shopping carts in WAITING status

    Hi
    We are using 1-step approval work flow, and we get some strange issue. We can add approver in the workflow, but after we click order button and back to check status again, sometimes there will be "Ad-hoc agent not found" issue. Do you know how to solve?
    And one workaround for user is to re-add the approval, and sometimes the shopping cart back to normal. But sometimes, after we add the approver, the shopping cart are in waiting status:
    Workflow Item:
    Workitem-ID 000000714642
    Task WS10000276
    Text One-Step Approval: Value limit: Shopping Cart
    1000114698
    Status WAITING
    Statustext Waiting
    Date 13.06.2008
    Time 10:41:22
    So may I ask how to re-trigger the workflow?

    Hi,
    Thx for that. I need to trigger the Approval workflow to go the the approval manager.
    Can u give me the document on this? thx,  kerry.liu [at] ap.effem.com.
    Thx very much
    Kerry

  • How to Create material master workflow

    Hi All,
    Can anybody tell me how to create material master workflow?
    i need to customize the workitem  for creating data in different views in MM01 transaction with restriction to particular user.
    Regards,
    Priti

    Hi,
    This link is to  display a material.My requirement is to create a workflow which will allow a responsible person to enter data for specific department data e.g Purchase,Accounting etc.Initially anyone can create data using basic data1 and basic data2 views.After this my workflow will be triggered and it will go to next person who is responsible to enter Purchase data and then Accounting data.
    Plz help me to create different views with respect to person.
    Thanks in advance.

  • How can i execute a workflow using a bapi/wapi??

    Hi All,
    How can i execute a workflow using a bapi/wapi??
    pls advice
    thanks

    Hi Hrus,
    it's not as simple as a single BAPI to approve a workflow.
    Workflow comes with a Workflow API (WAPI) that you can use to programmatically interact with the workflow system. The WAPI is implemented as a group of RFC-enabled function modules that are prefixed with "SAP_WAPI_".
    Approving a workflow is simply taking a decision path for a workflow item. It is logically no different to rejecting the same workflow item or any other workflow decision.
    As part of NetWeaver workflow is tightly coupled to the WAS platform you are running on so you may need to perform WAPI operations slightly differently on older releases.
    Some of the WAPI calls you might need to use include: -
      SAP_WAPI_GET_HEADER to get the workitem header
      SAP_WAPI_READ_CONTAINER to get the workitem container
      SAP_WAPI_GET_OBJECTS to get the attached objects
      SAP_WAPI_DECISION_READ to get a list of possible decisions
      SAP_WAPI_SET_WORKITEM_STATUS to set the workitem status
      SAP_WAPI_WRITE_CONTAINER to write to the workitem container
      SAP_WAPI_EXECUTE_WORKITEM to execute the workitem
    I usually do what you are trying to do by adding the decision to the workflow container and then executing the workflow.
    Be warned, you can really stuff things up if you get this wrong! Make sure you know what you are doing.
    Quoting from Practical Workflow for SAP by Alan Rickayzen, et al from SAP Press...
    Writing directly to the workflow container is dangerous because it can compromise the integrity of the process.
    ...be careful that you do not waste time duplicating existing ad hoc features of SAP's Workflow Engine.
    For example you can use events (combined with wait steps), instead of container modifications to force the workflow to restart.
    Cheers
    Graham Robbo

  • How to get ProcessInstanceId after Workflow KickOff. Am able to get the InvocationId

    How to get ProcessInstanceId after Workflow KickOff. Am able to get the InvocationId.
    This is the Snippet :
    InvocationResponse response = myServiceClient.invoke(request);
    invocationId = response.getInvocationId();
    System.out.println("ClientParams="+response.getClientParameters());
    System.out.println("OutputParams="+response.getOutputParameters());
    System.out.println("invocationId="+invocationId);
    JobManager jobManager = new JobManager(myFactory);
    JobStatus jobStatus = null;
    JobId myJobId = new JobId(invocationId);
    jobStatus = jobManager.getStatus(myJobId);
    System.out.println("Job Status: " + jobStatus.getStatusCode());
    if (jobStatus.getStatusCode()==JobStatus.JOB_STATUS_COMPLETED)
    System.out.println("INVOCATION COMPLETED SUCCESSFULLY!");
    InvocationResponse jobResponse = jobManager.getResponse(myJobId);
    jobManager.terminateJob(myJobId);
    jobResponse.getInvocationId();
    Process id need to be fetched after Workflow Kickoff
    Can anyone please help me..?

    There are 5 process level variables that get populated when you invoke a process. They are
    /process_data/create_time
    /process_data/creator_id
    /process_data/id
    /process_data/status
    /process_data/update_time
    Within the xPath builder you can differentiate them from other process variable because they are italicized.
    Now you can create your own process variable - let's say called pid - and have it contain the process id which is stored in /process_data/id.
    The xPath would look something like
    /process_data/@pid = /process_data/@id
    If the pid variable is marked as an 'output' variable, then it will be returned as part of the InvocationResponse.
    Jasmin

  • How to clean the Stuck Workflow activities in oracle application 11i

    Hi All,
    Can anyone please give me the steps/Metalink Doc ID about how to clean the stuck workflow activities in Oracle Apps 11i.
    Thanks,
    Dinesh.

    969325 wrote:
    Hi All,
    Can anyone please give me the steps/Metalink Doc ID about how to clean the stuck workflow activities in Oracle Apps 11i.
    Thanks,
    Dinesh.Please see old threads for the docs you need to refer to -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Workflow+AND+Stuck&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How to simplify entering position selection in Info type 0001 ?

    How to simplify entering position selection in Info type 0001 ?
    HR admin needs to select vacant positions of org unit 1 or 2.
    While executing Hiring action, F4 shows all the root org units - around 20 or so...
    I want only the org 1 and org 2 for which the HR Admin can do the hiring.
    How to implement this?
    Do we have IMG Config for enforce this ?
    Is this to be done thru ABAP code or something?
    Would the authorization stuff will filter the authorize org units only?
    Please help me how to figure this out
    Thanks

    Hi Chris
    There can be a workaround to simplify the process of entering vacant positions from org unit 1 & 2 ONLY . Try this out-
    1. create an adhoc query (report output on vacant positions with their object ID and position text for org unit 1and 2)
    2. Save the query as a variant (so the HR administrators would need to change only the key date when they run the query)
    3. Everytime the HR administrator runs the Hiring action for org unit 1 or 2 , ask them to run the report (adhoc) first. That way they get a complete list of vacant positions as on key date (with object ID) for org unit 1 and 2 . This report can also be downloaded in excel format
    4. use the positions from the above list to manually key in the hiring action
    Hope this helps you out - may not be the most efficient way of doing but atleast you have a ready list of all vacant positions as on a key date for org unit 1 & 2.
    I think there is a standard SAP report on vacant positions per org unit (plz check the SAP easy access menu--> Information system / reporting tools) . If that serves your purpose , no need to create adhoc query
    regards
    Reema

  • How to integrate SAP HR Workflows with Webdynpro ?

    Hello All,
    Could you please drop some hints for the below points please ?
    How do we trigger SAP workflow from Webdynpro DC? Usually if its a RFC we import RFC through Model and trigger the RFC. Can that be done only through Adobe forms? If yes,how do we trigger work flow through Adobe Forms?
    Many Thanks,
    Dhanya

    Hi, Dhanya
      Of course via RFC! Usually these workflow related RFMs are called WAPI
    (Workflow API).
      Please refer to this thread.
      Workflow and Trigger Event
      And Adobe forms is not relevant to SAP workflow at all. Usually, Adobe forms
    + workflow scenarios are achieved via the above workflow APIs.
      Best Regards.
      Sejoon

  • How to trigger a standard workflow task in customizing program?

    Hi experts,
    Does any1 have any ideas about how to trigger a standard workflow task in customizing program? Is there any FMs can be used to do this?
    Thx in advance. Points will be rewarded.
    Vincent

    will followiign Fms help -
    'SWE_EVENT_CREATE'
    SWR_START_WORKFLOW
    SWU_START_WORKFLOW

  • How can we Debug the workflow?

    Hi,
    How can we debug the workflow?
    Please help  me on debugging the workflow in step by step procedure?
    Early reply is highely appriciable.
    Regards,
    Chow.

    Hi,
    If you want to set breakpoints in method which is used in workflow task then it is possible
    till ECC5 am afraid about ECC6
    you can see the graphical view of workflow through transactions said by Kalpesh
    you can also use swwl (delete workflow) for viewing the container elements of the workflow.
    SWI2_ADM1:Workitem without agents
    SWI2_DIAG:Workflow with error
    these transactions are also helpful
    Thanks & Regards
    Hari Sankar M

  • How to approve conent from workflow queue ?

    Any idea how to approve content from workflow queue when user is not reviewer or authorized to take action of current workflow step. ?
    how we can modify the user permission on content for approve/reject content from workflow queue when content is not in workflow queue of current user ?
    Or How can user take workflow action on content when content is not in workflow queue of user ?

    Any idea how to approve content from workflow queue when user is not reviewer or authorized to take action of current workflow step. ?OOTB this is certainly not possible. By installation of a workflow you intend to automate a business process; i.e. the situation you are asking about is exactly what you want to prevent. Therefore, the initial question should be: do we want to automate this process and if so, is WebCenter Content the right tool to do it (note that WebCenter Content is not a BPM system!).
    The world, however, is not black or white - sometimes you have to use the tool that you have. In WebCenter Content, there are certain situations which cannot be meet by the OOTB design, but their customization is relatively easy. Some of them is described in the manual: http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHCHJEA or http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHGIDGB
    The basic idea is that will use workflow step events (entry, update, exit) to implement additional logic (like adding a reviewer or auto-jump to an escalation/special treatment step on certain conditions). This might also require GUI changes - e.g. if you want to enable a reviewer to delegate his or her role to a third person.

  • How to Install and Configure Workflow For PO in Oracle Apps Version R12

    Hi,
    Please do let me know how to install and configure Workflow for Purchasing in Oracle Apps R12 Version.
    I want to the standard setup of workflow configuration for the PO.
    Thanks and Regards
    Srini

    Hi Suresh
    Only the latest version of WLP which is WLP 10.3.2 has facility to integrate with Oracle UCM with Adapaters. So make sure that you do have this latest version of WLP 10.3.2. Older versions like WLP 10.3 do not have this provision.
    Also I guess when you install and configure this Oracle UCM Adapater and choose above WLP Home, I guess these modules may be added in already installed WLP folders. I checked on my side for WLP 10.3.2 and I could NOT find the modules you mentioned. So most probably you may be missing some installation/configuration stuff from UCM side.
    Thanks
    Ravi Jegga

  • SSHR -- how to configure email with workflow notifications

    Hi,
    I need to send email to the workflow approvers.
    Can you please tellme the steps in setting up the same.

    Pl post details of OS, database and EBS versions.
    Pl see these documents
    How Does One Configure Oracle Applications Workflow Notification Mailer And where Are The Documentat          (Doc ID 1051562.1)
    Configuring the Oracle Workflow 2.6/11i.OWF.H Java-based Notification Mailer with Oracle Application          (Doc ID 268085.1)
    Example Of Configuring Workflow Java Notification Mailer With Oracle Applications 11.5.x          (Doc ID 249957.1)
    How To Troubleshoot Java-based Workflow Notification Mailer          (Doc ID 242941.1)
    Configuring the Oracle Workflow 2.6 Java-based Notification Mailer with Oracle Applications 11i          (Doc ID 231286.1)
    HTH
    Srini

  • How to use tokens in workflows(ocm)

    i want to know how to use tokens in workflows .

    What do you want to know?
    Tokens are variables that eventually map to either individual user names or aliases (groups of users).
    The token is defined and then included in the workflow step in addition to or in place of a user or alias.
    A token is a piece of idoc script that ends like this <$wfAddUser("Name", "type")$>. Name, like i mentioned above, is a user name or an alias name. Type is a string identifier; either "user" or "alias".
    Because it's Idoc Script, the token can evaluate anything available in the databinder as well as execute other functions.
    A very easy way of using tokens is to map a metadata field that you know will contain a user name to the "Name" parameter. The dDocAuthor field will always contain a user name. So the token might look like this: <$wfAddUser(dDocAuthor, "user")$>. When set as a workflow user, this token will route the item to the person listed as the author.
    Because tokens are evaluated in workflow after the entry event (read the docco if you don't know what step events are), you can do some complex caluclations in the entry event and then pull the results into the token. For example, you might want to auto-escalate workflow content to my manger. If we presume that my manager's user name is part of my user profile, (say in a user metadata field called uManager), we can figure out who my manager is in the entry event, set my managers name into the companion file (read the docco if you don't know what this is), then pull it out in the token when the token is evaluated.
    this might look something like:
    --- ENTRY EVENT CODE ---
    <$me=dUser$> <!-- this sets the current user to the idoc variable "me"-->
    <$myManager=getValueForSpecifiedUser(me,'uManager')$> <!--this grabs the value of the uManager field for me-->
    <$wfSet("manager", myManager)$><!--this creates a variable in the companion file called "manager" and sets its value to the value of the myManager variable-->
    ----Token Code---
    <$wfAddUser(wfGet("manager"),"user")$> <!--this pulls the value of the "manager" variable out of the companion file and sets it as the token user.-->
    This is only the tip of the iceberg. One token can have multiple <$wfAddUser...$> declarations. They can be conditional: <$if ..some condition$><$wfAddUser...$><$else$><$wfAddUser...$><$endif$>
    Check out the workflow reference guide that is in the documentation library for more ideas.

  • How to switch off a workflow ?

    Hi ,
    Anybody has an idea how to switch off a workflow ?
    Reply soon.
    Thanks a lot,
    Sandip.

    Hi Sandip,
    You can display the Workflow template using tramsaction PFTC or PFTC_DIS. Check the 'Triggering Events' tab to see if the WF is started by an event with a Green light icon. If so you can turn off the event linkage by clicking on the green light. If this is in Production, you have to disable in Dev and transport the change.
    If no Triggering events exist, it may be started directly.
    Depending on what the WF is doing, you should be able to get a fairly good idea of from where. If it is not a custom program, it probably is done through configuration.
    Cheers,
    Ramki.

Maybe you are looking for

  • What are the drawbacks of creating execute queues

    Hi thread Gurus What are the drawbacks of using execute queues. I understand that if queues are not used they stay idle but on solaris the SunOS scheduler will only give active threads CPU time. what ar the other resources being wasted in the process

  • Editing form created in earlier version of Adobe Acrobat

    I'm trying to edit a form created in Adobe Acrobat 7; we're now using Adobe Acrobat Pro X.  I can't seem to edit text; why?

  • PLSQL: Changing in parameter thru assignment to global variable???

    Hi there! On 10gR2 (10.2.0.3) the following PL/SQL block declare glob_val pls_integer := 2; procedure test_p(x in pls_integer) is begin dbms_output.put_line(x); glob_val := 3; dbms_output.put_line(x); end test_p; begin dbms_output.enable; test_p((glo

  • Import Price and Book Posting

    Hello , We are trying to do an import PO but unable to get the postings correct. Following is what we want : 237836     Assessable Value 23784     Basic Customs Duty@ 10% 20930     Excise Duty @ 8% 419     E Cess @2% 209     H E Cess @1% 907     Cust

  • Can't copy the mp3 in iTunes Music folder to flashdisk or external harddisk

    I have added all of my mp3 files to iTunes library and deleted all the original mp3 files *coz I thought it's been saved in the iTunes Music folder* But after I tried to copy the files from iTunes Music folder to flashdisk a message appear. Here is t