Custom workflow steps in BCC / Prepending hostnames to images in media text

We need to be able to prepend hostnames to image paths that are inside media internal text (MIT) items.
We have MITs that contain raw HTML from a 3rd party that get imported into Merchandizer.
Some of this HTML have <img> tags or reference images in inline <style> blocks, in the form of <img src="/foo/bar/xyz.png" alt="my image" /> or <style> .img { background-image: url(/foo/bar/xyz.png) } </style> respectively.
We need to be able to programmatically append imgX.mydomain.com to the image paths (where X is calculated by an existing component depending on some custom logic to point the relevant images to the correct web server cluster). Also, the 'img' portion may be 'imgprev' or 'imgstg' depending on the environment. eg: img1.mydomain.com/foo/bar/xyz.png for production & imgstg1.mydomain.com/foo/bar/xyz.png for staging.
We also need to be able to strip out the domains when the MITs are exported from Merchandizer.
My initial thoughts were to create a servlet filter with a custom response wrapper to do this, but this is additional overhead at request time we'd rather not have.
Is there some way we can create a custom workflow step to do this task, where the step would know which environment it was publishing to and programically append the necessary image path?
Any other suggested approaches welcome.
We are on 9.4.

http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Similar Messages

  • Fiori Approve Travel Enpense Custom Workflow

    Dear experts,
    Regarding Fiori wave 1 application: Approve Travel Expenses, customer is using a custom workflow.
    The SAP standard workflow step for this app is a task decision type step.
    But the custom workflow step is an activity type step.
    Can we also map the workflow step outcome with user decision?(I think by implementing BADI)
    Is there any affect on the Fiori app implementation?
    Masayuki Sekihara
    Thanks and regards,
    Chloe

    Hi Masayuki Sekihara and experts,
    I'm facing a similar scenario with PO approval.
    The client uses Portal UWL to read their inbox and wants to replace SAPGUI PO approval UI with Fiori PO approval UI.
    What would I have to change in the workflows' task in order to make it fit for Fiori?
    I'm trying to put all pieces together but I can't make it work.
    I changed the WF and task (replace the task that calls BOR BUS2012 by a dummy task type activity that calls a redefinition of BOR, ZBUS2012, with an extra dummy method and events for Approve and Reject actions.
    Implemented Badi for enh.spot /IWWRK/ES_WF_WI_BEFORE_UP_IB method before_update to send data back from fiori to backend WF.
    I assume I have to change some config for Fiori PO approval app to map it to my new task and do the same in Portal 7.4 for UWL configuration?
    But, where or how do you set the text that will be displayed in UWL for this Fiori task?
    I'm executing the custom WF in the backend and get stuck trying to determine the agent (it comes empty). In the step in Control tab under Agents section I'm using a custom rule that calls a FM that pastes a custom value in EKKO then in the task in tab Default Rules I'm calling the standard rule 'Agent (default Rule)' = 20000027 biding PurchaseOrder and ReleaseCode.
    And I don't get to see the workitem in the approver's inbox (SBWP tcode) after creating the PO either. As far as I know this is something that should always occur (seeing the workitem in the approver's inbox regardless of what we use in the end: UWL and/or Fiori).
    Any pointers?
    Thanks,
    Laura

  • Custom pages at each workflow step in UCM

    How can I link custom pages (say JSP pages) with a workflow step in UCM? Suppose I've a workflow with a reviewer and approver and I want to get some field values at each step, how can I do so? Currently, the only option I get is Approve/Reject links at each step.

    so suppose you create an HCST page (see Bex's book if any of you reading aren't sure what those are) and check it into the content server.
    You will need to reference it from the workflow in queue page or the emails that get sent out to the step reviewers (or both).
    I suspect that in addition to calling the page (via URL) you would also pass some information on the URL like the content ID of the item being reviewed in workflow, the workflow step, etc. That information will be available already on the page you are navigating from.
    Then your hcst looks and functions like any other template page. It has the information from the URL params that it can use as inputs for additional queries or services that you're executing. There are some examples of basic HCSTs in the book and in the Dynamic Server Pages guide here:
    http://download-west.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/developer/dynamic_server_pages_10en.pdf

  • Adding Validator step in MDG Customer workflow

    Hello All,
    I need to add validator step in MDG - Customer workflow - WS54300003 and process is, requestor will create CR and it should go to Validator. Once he approves then it should go to final approval team. Currently it is going to final approval stage at first step itself.
    I added that additional step(Validator) to workflow templete(WS54300003) under processing modeling->workfloe->other MDG workflow->Define Change Request Step Numbers. Also, assigned process at  ...-->Assign processor to Change Request Step Number (Simple Workflow).
    Seems i am still missing some thing. Could you please guide me what else need to be done? we are on MDG 6.1

    step numbers are hard-coded in this workflow template (WS54300003). if you open any task container, you will see the value of the step in the container of that task.
    any way, you should not modify workflow WS54300003 as that is considered modification to standard objects. you can copy it to a custom workflow template and then add any new step as you like. you can assign whatever number you like to any step as long as the numbers in the workflow template are consistent with the numbers assigned in the MDGIMG configuration node.
    A recommended solution is to use the rule-based workflow template. your MDG process will be much more dynamic and a lot easier to modify/enhance going forward.
    this document can help you understand how you can use the rule-based workflow template: How to Fill MDG Rule-Based Workflow Decision Tables

  • Customizing seeded workflow steps

    Hi Gurus,
    While trying to open View Additional Invoice Details in Approver worklist getting error
    "You have encountered an unexpected error. Please contact the System Administrator for assistance"
    What can be the possible reasons.
    Parasuraman
    [email protected]

    Please see if these docs help.
    How to create a custom copy of the seeded Purchasing PO Approval Workflow POAPPRV [ID 1270010.1]
    How do you create a custom Workflow and get it to appear under the 'Identifier' column in Define Approval Style Form? [ID 338758.1]
    Thanks,
    Hussein

  • How to create a Language Branch using custom workflow?

    Hi,
    I’ve a requirement where I need to create a workflow process which will create a Language branch.  i.e I wanted to achieve the functionality using custom workflow as given in the docs: https://dev.day.com/docs/en/cq/current/administering/multi_site_manager.html#Managing the Translation of your Language Branches 
    As per the OOTB functionality,
    1.     If the target page is not exist in the Language branch, it will copy the reference page to target path.
    2.     If the target page is already exists, it will not create a copy of the reference.           
    After the translation, if we make any changes in the reference page and activate the reference, then we have a button called 'Show side by Side' under Translation in the side kick which shows differences between reference page and translated page.
    Example:
    So, I would like know how we can achieve this in my custom workflow process. In my workflow process, I’m checking whether the page is existed in the target path or not. If not exist, I used page copy.
    Eg: Page page = newPage.copy(originalPage,targetPath+"/"+originalPageName,null,true,true );
    When I use above api, it just copies the page and it will not maintain any relation with reference page.
    Any pointers would be more helpful.
    Thanks
    Siva

    Hi,
    I have a similar request to export the texts from one language and after the translation to import them to the new language, did you find any solution? My question is how can I add some steps into my workflow to validate the imported data -and if the user validate the texts then proceed with next step(in my case I import the text from a file and generate a form with values). I read the documentation from Adobe but I didn't find anything related to how we can add a workflow to a dynamically generated from(I don't use the CQ form component).
    Can anybody help me with this?
    Thx, Lorand

  • How to ignore the password policy in a custom workflow?

    Hi,
    We have a custom workflow which is called via SPML to provide 'Administrator Change Password' functionality in a portal.
    Our password policy sets the String Quality rules and Number of Previous Passwords that Cannot be Reused. But we like to bypass the password policy when the password administrators (who have a admin role with a capability - 'Change Password Administrator'). At least, restriction ' Number of Previous Passwords that Cannot be Reused' need to be ignored (But password need to be added to the history... cannot disable adding passwords to history).
    Please advice me how it could be achieved?
    The workflow steps:
    1. Checkout 'ChangeUserPassword' view for the user as an administrator
    2. Set the new password in the view, set true to view.savePasswordHistory
    3. Set password on the resources
    4.Checkin the view
    Thanks
    Siva

    Thanks eTech.
    My main goal is to skip the password history check (new password can't be a last used 10 passwords) when admin change password workflow is launched. As you suggested , I created a special password policy exactly as our regular password policy excluding "Number of Previous Passwords that Cannot be Reused" setting.
    Then before change the password of a user as admin, special policy is attached , password changed, and user's password policy is reverted back to regular one. The issue is, as the special policy does not enforce the password history check, the whole password history of the user is wiped out from the user object when the password is changed by admin change password workflow. We don't want this to happen.
    Please guide me whether is anyway to achieve just ignoring the password history without any other impact on user.
    Is adding passwords to user object's password history list is triggered by "Number of Previous Passwords that Cannot be Reused" setting of the password policy??
    Thanks
    Siva

  • Workflow step not executed...

    Hi,
    In my workflow requirement (for VA01), I want to record the status in a custom table as follows;
    Approver id     date   time    status
    ABC                                     Submitted for approval
    ABC                                     Approved (or) Rejected
    So I have created a step called 'update custom status' after the step that sends email to the approver agent whose details stored in another custom table. Then I associated a task with this step which is bound to a custom class / method which has the logic to write the status to the custom table.
    The issue is I do not see this step excuted. I checked in the log.
    What can be wrong ?
    Workflow steps are as follows;
    1. Read the document's net value and store in a variable.
    2. Read the custom table for agents list to whom the doc has to be sent for approval.
    3. Send email for approval.
    4. update custom status.
    In the graphical view, I can see the update custom status step being called (Green link from previous step to this step) but after that no progress.
    Am I missing passing some values ? Or is this step not giving any results ? Whats happening ?
    Details on this update custom status step are as follows;
    A custom task with terminating event set as _WORKITEM defined. (not synchronous)
    A step of type activity defined and bound to the above task with binding done.. (what values should I pass to record the above needed details.)
    In other words, how can I record the status in my custom table ?
    thnks

    Hi
    I think its a background step. If yes, then make it foreground and debug and see what is the problem. Also check for short dumps and turn on the event trace and see the terminating event is getting triggered.
    Vinoth

  • How to register custom workflow in oracle apps ?

    Hello
    I am new to workflow. I have customized an oracle standard workflow and now i want to register this custom one. Please help how to register the custom workflow. What steps need to achieve this.
    Thanks

    Hi,
    You may or may not need to "register" the workflow - it depends on the changes that you made and which Item Type you modified. Some applications are essentially hard-coded to use a specific item type and process, some hard-coded to use an item type but you can configure the process to use, and some allow you to specify which item type and which process to use.
    Without knowing exactly what you have done, though, there is no specific advice that anyone can give you here on what you need to do, apart from to ensure that you have saved the new definition to the database.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Ucm: displaying some fields on a profile based on a workflow step

    Hi,
    Is it possible to hide/display some standard/custom metadata fields on a profile based on a workflow step/
    e.g. I am having a workflow with 3 steps
    1. manager step
    2. specialist step
    3. reviewer step
    On the 3 step, a reviewer can decide calling an adhoc workflow if he updates some custom metadata fields(adhoc rev1, adhoc rev2). My requirement: Is it possible to show the custom metadata fields only to reviewer on updating the content item. It should not get displayed while checkin the content item or any other step users update the content item.
    thanks

    I had a similar question some times ago - see this thread: Value of dpAction
    Yes, you can do it, but you will have to define rule activation conditions properly - using dpAction and dWfCurrentStepID.

  • Workflow step skipped while execution

    Hello Friends,
    I have an issue with a custom workflow. it has 2 levels of approval , the first level has executed successfully and the second level of approval ( which is a sub workflow ) has been just skipped.
    i see that the graphical workflow just skipped the step and proceeded with the subsequent steps.
    the issue is with the document alone and am not able to replicate the same error.
    both the workflow templates havent been changes lately.
    any clues why this happens ?
    thanks,
    Raghu V

    hello Friends,
    thanks for the inputs ,  i thought i could ignore this issue , but unable to do as we have fresh cases.
    this is a custom workflow which has 2 sub workflows ( 1 for level 1 approval and another for level 2 approval  ) .
    I see that level approval sub workflow has executed fine , but the level 2 sub workflow has just been skipped .
    i can see the skip in the graphic log and also in the technical log  - I see that the step/nodes corresponding to the 2nd subworkflow is not present at all  .
    I also verified the none of these workflow are modified recently ,
    Any clues, Do help me.
    thanks.
    Raghu V

  • Workflow step - Add record to mask

    Hi,
    Is there a workflow step that can add a record to a mask? Any ideas on how we can achieve that?
    Thanks.

    TS is correct,
    this may be another solution, but a quite complex and I'm not sure that it works fine for your requirements. Besides, probabily enrichment is not in your MDM package because needs another license. In any case this solution required java customizing.
    Regards,
    Vito

  • Custom workflow - How to go from single server to multiple?

    I have been working on a project that involves developing a custom workflow activity for SharePoint 2013. I am developing it in a single server environment working with http. My problem occurs when deploying to multi-server environment with https (WFE, APP).
    My question is how to deploy my solution to the new environment. 
    The steps:
    Create a project - c# activity library
    Add a workflow activity, add .xml
    Deploy the .dll and .xml of project to "C:\Program Files\Workflow Manager\1.0\Workflow\Artifacts" "C:\Program
    Files\Workflow Manager\1.0\Workflow\WFWebRoot\bin"
    net sotp "Workflow Manager Backend"
    net start "Workflow Manager Backend"
    gacutil to deploy the .dll to GAC
    iisrest
    Create a project - empty SharePoint 2013 project
    Add a workflow custom activity to project
    Edit .actions4 and .xaml (my custom code from previous project is in this project now that i can drag and drop in .xaml)
    Deploy to server, activate feature, open SharePoint Designer 2013 and choose the custom action that now appears when creating a 2013 workflow
    This all works fine and dandy on my single server environment. Workflow is working like a charm. How should I go about deploying this to a multi-server environment with https? Does that server need Visual Studio on it also? I have continued to deploy the
    .dll and .xml to the workflow manager backend folders. I have continued to deploy the .dll to the GAC also. When I upload the solution to the new site, it continues to work. When I open designer to create the workflow, it breaks and i cannot create or edit
    any of the workflows on that site. Do i need to be doing something different because i am going from a http environment to https?
    Let me know if this is unclear or if anyone needs more information. Thanks

    If I understand correctly, your workflow still working fine in multi-servers farm but having problem in SharePoint designer. As far as I understand your custom activities should be deployed in the server where your workflow manager is running. Good architecture
    would be to put the workflow in app server (or in it's separate server). But if you are also using HTTPs in multi-server farm whereas the workflow configured over HTTP, you might need to register the workflow (I'm not quite sure though, so you can try in some
    test environment first).
    I've worked with SharePoint 2013 workflow but I intentionally didn't develop custom activity. Rather I develop custom WCF service in SharePoint. And then used the service from workflow. This is how I could use a separate dedicated server for workflow (if
    needed ever) without having any reference to SharePoint DLLs from inside workflow.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Custom Workflow

    Hi All,
    I am writing Custom java code to get the Requester login ID in the Custom Workflow. Can Anybody please tell me which API i can use to retrieve the requester details.
    Thank you

    You should refrain from multiple postings for the same question.
    Steps as already shared with you:
    1. Get the requester information from the payload. (In the Oracle sample the request Id is brought from the payload, similarly you can get the requester id and etc).
    2. Get the target user information from the payload along with target user's manager.
    3. Set the data from the two above into global variables and copy them into your .task variables.
    4. In the task use two serial stages and inside the stage use the skip rule condition with the variables from step 3. (http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bp_hwfmodel.htm#BABHJEFC)
    -Bikash

  • Custom workflow - props file service name change

    All,
    I created a custom workflow and registered with OIM with serviceName value as the service name from the SOA composite. I realized that this needs to be changed to RequestApprovalService.
    Has anyone done this, if you can you please list the steps.
    Thanks in advance,
    Prasad.

    I thought of this as well. It may be possible this way also. Since the composite was primarily generated by the OIM provided template, I didn't prefer to do this. The above mentioned method is working, but i will try this as well when i get a chance.
    Regards,
    Prasad.
    Edited by: pk**** on Jun 8, 2011 12:21 PM

Maybe you are looking for

  • Where do I find the file to install Adobe Premiere Elements 10 on Windows 7 64 bits?

    Hi there. I ran a little search on the forum for that subject but I couldn't find it. So, if it is a double post or something like that, I'm sorry, and please lead me to where it was already talked about. The thing is: I bought the downloadable bundl

  • N8 Belle 20 MB memory loss

    Few days after Belle update my N8 suddenly lost 20 MB on C for no apparent reason. I've seen others report this, apparently same thing also happens few days after reset. Anyone know what it is? I'm not short of memory, just curious. Solved! Go to Sol

  • Password protected---how do I correct to convert

    Question when converting to Word---I get Password Protected ?  wshat can I do ?                [email protected]

  • Integration of Apache Solr* and Webcenter Sites.

    Hi , I am new to Apache Solr and Webcenter Sites . could you please guide us how to integrate both of them using SolrJ . please provide us the best ways for integrating them . Thank you, Sashank P

  • Off Topic - Automatic creation of a Directory listing in XML

    Sorry if this is off topic. OK my fingers are getting tired... is there a tool, or widget that will read the contents of a directory and generate an index XML file of that directory? Running Mac OS X 10.6x server and we are hosting our own content. l