How can I run a deployer module after the commit?2019 Community Moderator ElectionCustom Deployer Extension - SDL Web 8.5Capture successful Tridion page post publish event or action and trigger some custom codePolling for notification for destination: has exceeded polling attempts for transactionTransactional publishing, rollback and custom deployer modules interactionWhy the Content Deployer is down after previously running correctlyCan I have two processors on the same cd_deployer_conf.xml?Web 8.5 Deployer Configuration - deployer-config.xml - Deployer fails to startHow can I debug a Deployer customization in Web 8?Why a Deployer worker with Redis BinaryStore pauses execution then resumes?SDL Web 8.5 Custom Page Deployer - How to access component custom metaExperience Optimization Deployer settings

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

Western buddy movie with a supernatural twist where a woman turns into an eagle at the end

Combinations of multiple lists

When a company launches a new product do they "come out" with a new product or do they "come up" with a new product?

Why do I get two different answers for this counting problem?

In Romance of the Three Kingdoms why do people still use bamboo sticks when papers are already invented?

Assassin's bullet with mercury

Arrow those variables!

Twin primes whose sum is a cube

Why can't we play rap on piano?

What do you call someone who asks many questions?

What reasons are there for a Capitalist to oppose a 100% inheritance tax?

I'm flying to France today and my passport expires in less than 2 months

Would Slavery Reparations be considered Bills of Attainder and hence Illegal?

Can one be a co-translator of a book, if he does not know the language that the book is translated into?

How to prevent "they're falling in love" trope

Why is the 'in' operator throwing an error with a string literal instead of logging false?

Blender 2.8 I can't see vertices, edges or faces in edit mode

Where does SFDX store details about scratch orgs?

How to model explosives?

Modeling an IP Address

Watching something be written to a file live with tail

What mechanic is there to disable a threat instead of killing it?

How can I make my BBEG immortal short of making them a Lich or Vampire?



How can I run a deployer module after the commit?



2019 Community Moderator ElectionCustom Deployer Extension - SDL Web 8.5Capture successful Tridion page post publish event or action and trigger some custom codePolling for notification for destination: has exceeded polling attempts for transactionTransactional publishing, rollback and custom deployer modules interactionWhy the Content Deployer is down after previously running correctlyCan I have two processors on the same cd_deployer_conf.xml?Web 8.5 Deployer Configuration - deployer-config.xml - Deployer fails to startHow can I debug a Deployer customization in Web 8?Why a Deployer worker with Redis BinaryStore pauses execution then resumes?SDL Web 8.5 Custom Page Deployer - How to access component custom metaExperience Optimization Deployer settings










6















I am trying to create a custom deployer module which runs AFTER the content (in this case a page) has been committed to the broker database. I know that in UDP there are different pipelines, each representing a different stage in the deployment process (called Verbs in the code). By debugging the code and by looking at the deployer-conf.xml that SDL provides, I found out that there are at least the following Verbs (stages):



  • Prepare

  • Process

  • Content

  • PreCommit

  • Commit

  • Rollback

However, as far as I can tell, ALL these stages take place before the database transaction is committed.



I've tried the following XML configurations:



Verb=Process (added my steps to the steps that were already there)



<Pipeline Id="Tridion-Process-Deploy" Action="Deploy" Verb="Process">
<Steps>
<Step Id="PageDeploy" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Class="com.tridion.deployer.modules.PageDeploy" Type="PageDeploy"/>
</Step>
<!-- removed other steps for clarity's sake -->
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


Verb=Commit (new pipeline created specifically for my module)



<Pipeline Id="Tridion-Commit-Deploy" Action="Deploy" Verb="Commit">
<Steps>
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


Verb=PreCommit (also a new pipeline)



<Pipeline Id="Tridion-PreCommit-Deploy" Action="Deploy" Verb="PreCommit">
<Steps>
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


In all cases, my module got triggered AFTER the out of the box page deploy module, but unfortunately BEFORE the database transaction had been committed.



I also tried the verb 'PostCommit' but that doesn't seem to exist. My module does not get triggered at all when I use that.



Is there any way to trigger my custom deployer module AFTER the database transaction has been committed?



==== ANSWER ====



Raimond and Andrew both put me on the right track. The key thing to note is that the pipelines are executed in the order in which they occur in the deployer-conf.xml. There is one pipeline which contains the step to perform the database commit, namely Tridion-Commit-TX. To run a module post commit, just insert a pipeline after this one. Be careful though: you must put it BEFORE the Tridion-Cleanup pipeline, else your module cannot be instantiated anymore because the files on which it is based are gone.










share|improve this question
























  • what are you looking for? the markup for a deployer pipeline with custom module in it? tridion.stackexchange.com/questions/18757/…

    – Andrew William Ross
    2 days ago











  • I have the markup, and I am able to trigger my module. But it comes too soon in the process, when the database commit has not yet been issued.

    – Quirijn
    2 days ago











  • Wait, isn't the XO post commit?

    – Marko Milic
    2 days ago











  • I updated the question with the various XML configurations I tried.

    – Quirijn
    2 days ago











  • oh so you require transaction to finish, get final state, and after that execute something?

    – Marko Milic
    2 days ago















6















I am trying to create a custom deployer module which runs AFTER the content (in this case a page) has been committed to the broker database. I know that in UDP there are different pipelines, each representing a different stage in the deployment process (called Verbs in the code). By debugging the code and by looking at the deployer-conf.xml that SDL provides, I found out that there are at least the following Verbs (stages):



  • Prepare

  • Process

  • Content

  • PreCommit

  • Commit

  • Rollback

However, as far as I can tell, ALL these stages take place before the database transaction is committed.



I've tried the following XML configurations:



Verb=Process (added my steps to the steps that were already there)



<Pipeline Id="Tridion-Process-Deploy" Action="Deploy" Verb="Process">
<Steps>
<Step Id="PageDeploy" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Class="com.tridion.deployer.modules.PageDeploy" Type="PageDeploy"/>
</Step>
<!-- removed other steps for clarity's sake -->
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


Verb=Commit (new pipeline created specifically for my module)



<Pipeline Id="Tridion-Commit-Deploy" Action="Deploy" Verb="Commit">
<Steps>
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


Verb=PreCommit (also a new pipeline)



<Pipeline Id="Tridion-PreCommit-Deploy" Action="Deploy" Verb="PreCommit">
<Steps>
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


In all cases, my module got triggered AFTER the out of the box page deploy module, but unfortunately BEFORE the database transaction had been committed.



I also tried the verb 'PostCommit' but that doesn't seem to exist. My module does not get triggered at all when I use that.



Is there any way to trigger my custom deployer module AFTER the database transaction has been committed?



==== ANSWER ====



Raimond and Andrew both put me on the right track. The key thing to note is that the pipelines are executed in the order in which they occur in the deployer-conf.xml. There is one pipeline which contains the step to perform the database commit, namely Tridion-Commit-TX. To run a module post commit, just insert a pipeline after this one. Be careful though: you must put it BEFORE the Tridion-Cleanup pipeline, else your module cannot be instantiated anymore because the files on which it is based are gone.










share|improve this question
























  • what are you looking for? the markup for a deployer pipeline with custom module in it? tridion.stackexchange.com/questions/18757/…

    – Andrew William Ross
    2 days ago











  • I have the markup, and I am able to trigger my module. But it comes too soon in the process, when the database commit has not yet been issued.

    – Quirijn
    2 days ago











  • Wait, isn't the XO post commit?

    – Marko Milic
    2 days ago











  • I updated the question with the various XML configurations I tried.

    – Quirijn
    2 days ago











  • oh so you require transaction to finish, get final state, and after that execute something?

    – Marko Milic
    2 days ago













6












6








6


2






I am trying to create a custom deployer module which runs AFTER the content (in this case a page) has been committed to the broker database. I know that in UDP there are different pipelines, each representing a different stage in the deployment process (called Verbs in the code). By debugging the code and by looking at the deployer-conf.xml that SDL provides, I found out that there are at least the following Verbs (stages):



  • Prepare

  • Process

  • Content

  • PreCommit

  • Commit

  • Rollback

However, as far as I can tell, ALL these stages take place before the database transaction is committed.



I've tried the following XML configurations:



Verb=Process (added my steps to the steps that were already there)



<Pipeline Id="Tridion-Process-Deploy" Action="Deploy" Verb="Process">
<Steps>
<Step Id="PageDeploy" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Class="com.tridion.deployer.modules.PageDeploy" Type="PageDeploy"/>
</Step>
<!-- removed other steps for clarity's sake -->
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


Verb=Commit (new pipeline created specifically for my module)



<Pipeline Id="Tridion-Commit-Deploy" Action="Deploy" Verb="Commit">
<Steps>
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


Verb=PreCommit (also a new pipeline)



<Pipeline Id="Tridion-PreCommit-Deploy" Action="Deploy" Verb="PreCommit">
<Steps>
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


In all cases, my module got triggered AFTER the out of the box page deploy module, but unfortunately BEFORE the database transaction had been committed.



I also tried the verb 'PostCommit' but that doesn't seem to exist. My module does not get triggered at all when I use that.



Is there any way to trigger my custom deployer module AFTER the database transaction has been committed?



==== ANSWER ====



Raimond and Andrew both put me on the right track. The key thing to note is that the pipelines are executed in the order in which they occur in the deployer-conf.xml. There is one pipeline which contains the step to perform the database commit, namely Tridion-Commit-TX. To run a module post commit, just insert a pipeline after this one. Be careful though: you must put it BEFORE the Tridion-Cleanup pipeline, else your module cannot be instantiated anymore because the files on which it is based are gone.










share|improve this question
















I am trying to create a custom deployer module which runs AFTER the content (in this case a page) has been committed to the broker database. I know that in UDP there are different pipelines, each representing a different stage in the deployment process (called Verbs in the code). By debugging the code and by looking at the deployer-conf.xml that SDL provides, I found out that there are at least the following Verbs (stages):



  • Prepare

  • Process

  • Content

  • PreCommit

  • Commit

  • Rollback

However, as far as I can tell, ALL these stages take place before the database transaction is committed.



I've tried the following XML configurations:



Verb=Process (added my steps to the steps that were already there)



<Pipeline Id="Tridion-Process-Deploy" Action="Deploy" Verb="Process">
<Steps>
<Step Id="PageDeploy" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Class="com.tridion.deployer.modules.PageDeploy" Type="PageDeploy"/>
</Step>
<!-- removed other steps for clarity's sake -->
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


Verb=Commit (new pipeline created specifically for my module)



<Pipeline Id="Tridion-Commit-Deploy" Action="Deploy" Verb="Commit">
<Steps>
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


Verb=PreCommit (also a new pipeline)



<Pipeline Id="Tridion-PreCommit-Deploy" Action="Deploy" Verb="PreCommit">
<Steps>
<Step Id="PageDeployFast" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Type="PageDeploy" Class="com.tridion.storage.extension.deployer.SolrPageDeploy" />
</Step>
</Steps>
</Pipeline>


In all cases, my module got triggered AFTER the out of the box page deploy module, but unfortunately BEFORE the database transaction had been committed.



I also tried the verb 'PostCommit' but that doesn't seem to exist. My module does not get triggered at all when I use that.



Is there any way to trigger my custom deployer module AFTER the database transaction has been committed?



==== ANSWER ====



Raimond and Andrew both put me on the right track. The key thing to note is that the pipelines are executed in the order in which they occur in the deployer-conf.xml. There is one pipeline which contains the step to perform the database commit, namely Tridion-Commit-TX. To run a module post commit, just insert a pipeline after this one. Be careful though: you must put it BEFORE the Tridion-Cleanup pipeline, else your module cannot be instantiated anymore because the files on which it is based are gone.







web8.5 deployer deployer-extension sites-9 deployer-conf






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday







Quirijn

















asked 2 days ago









QuirijnQuirijn

4,532931




4,532931












  • what are you looking for? the markup for a deployer pipeline with custom module in it? tridion.stackexchange.com/questions/18757/…

    – Andrew William Ross
    2 days ago











  • I have the markup, and I am able to trigger my module. But it comes too soon in the process, when the database commit has not yet been issued.

    – Quirijn
    2 days ago











  • Wait, isn't the XO post commit?

    – Marko Milic
    2 days ago











  • I updated the question with the various XML configurations I tried.

    – Quirijn
    2 days ago











  • oh so you require transaction to finish, get final state, and after that execute something?

    – Marko Milic
    2 days ago

















  • what are you looking for? the markup for a deployer pipeline with custom module in it? tridion.stackexchange.com/questions/18757/…

    – Andrew William Ross
    2 days ago











  • I have the markup, and I am able to trigger my module. But it comes too soon in the process, when the database commit has not yet been issued.

    – Quirijn
    2 days ago











  • Wait, isn't the XO post commit?

    – Marko Milic
    2 days ago











  • I updated the question with the various XML configurations I tried.

    – Quirijn
    2 days ago











  • oh so you require transaction to finish, get final state, and after that execute something?

    – Marko Milic
    2 days ago
















what are you looking for? the markup for a deployer pipeline with custom module in it? tridion.stackexchange.com/questions/18757/…

– Andrew William Ross
2 days ago





what are you looking for? the markup for a deployer pipeline with custom module in it? tridion.stackexchange.com/questions/18757/…

– Andrew William Ross
2 days ago













I have the markup, and I am able to trigger my module. But it comes too soon in the process, when the database commit has not yet been issued.

– Quirijn
2 days ago





I have the markup, and I am able to trigger my module. But it comes too soon in the process, when the database commit has not yet been issued.

– Quirijn
2 days ago













Wait, isn't the XO post commit?

– Marko Milic
2 days ago





Wait, isn't the XO post commit?

– Marko Milic
2 days ago













I updated the question with the various XML configurations I tried.

– Quirijn
2 days ago





I updated the question with the various XML configurations I tried.

– Quirijn
2 days ago













oh so you require transaction to finish, get final state, and after that execute something?

– Marko Milic
2 days ago





oh so you require transaction to finish, get final state, and after that execute something?

– Marko Milic
2 days ago










2 Answers
2






active

oldest

votes


















7














You should be able to add a pipeline element after the "Tridion-Commit-TX" pipeline and before the Cleanup Step, which then should act as a PostCommit. In XO, the same happens:



<!-- Add the following pipelines after the existing "Tridion-Commit-TX" pipelines -->
<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentDeploy">
<Transformer Class="com.tridion.transformer.TCDLDefaultTransformer"/>
</Step>
</Steps>
</Pipeline>





share|improve this answer

























  • hahah raimond you had quicker fingers. :D in any case, here is the link: docs.sdl.com/LiveContent/content/en-US/…

    – Marko Milic
    2 days ago











  • I guess in my case I should have a Module instead of a Transformer in that step? And does the Id of the Step matter?

    – Quirijn
    2 days ago











  • You can create a module or a step if I'm not mistaken. I don't think the Id matters indeed.

    – Raimond
    2 days ago






  • 3





    It works! Only one thing: if your step contains a Module instead of a Transformer (like mine does), you must put it BEFORE the step with the ID Tridion-Cleanup. Otherwise the zip folder is cleaned up, and you will get an NullPointerException during the instantiation of your module. So put it ALMOST at the end, but before the cleanup step!

    – Quirijn
    yesterday











  • True! Good to see it's solved.

    – Raimond
    yesterday


















3














https://docs.sdl.com/LiveContent/content/en-US/SDL%20Tridion%20Sites-v1/GUID-93347DFB-D6EB-4398-A78D-220B7FD685E3



Go to your Content Deployer's config folder, and open deployer-conf.xml for editing.
Find the last Pipeline section in the file, and add the following two Pipeline sections below the last Pipeline section in the file:



<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentDeploy">
<Transformer Class="com.tridion.transformer.TCDLDefaultTransformer"/>
</Step>
</Steps>
</Pipeline>
<Pipeline Id="Tridion-Undeploy-PostCommit" Action="Undeploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentUnDeploy" />
</Steps>
</Pipeline>





share|improve this answer




















  • 1





    Hi Andrew, I think the first <Pipeline...> element went missing in your answer. Could you add that? Meanwhile, I will try it out.

    – Quirijn
    2 days ago











  • thanks did from my phone.. tricky ;)

    – Andrew William Ross
    2 days ago











  • Thanks for your help. You were correct, just like Raimond, but I marked his answer as correct because it had the additional discussion which might be helpful to people in the future. I upvoted your answer too.

    – Quirijn
    yesterday











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "485"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftridion.stackexchange.com%2fquestions%2f19954%2fhow-can-i-run-a-deployer-module-after-the-commit%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









7














You should be able to add a pipeline element after the "Tridion-Commit-TX" pipeline and before the Cleanup Step, which then should act as a PostCommit. In XO, the same happens:



<!-- Add the following pipelines after the existing "Tridion-Commit-TX" pipelines -->
<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentDeploy">
<Transformer Class="com.tridion.transformer.TCDLDefaultTransformer"/>
</Step>
</Steps>
</Pipeline>





share|improve this answer

























  • hahah raimond you had quicker fingers. :D in any case, here is the link: docs.sdl.com/LiveContent/content/en-US/…

    – Marko Milic
    2 days ago











  • I guess in my case I should have a Module instead of a Transformer in that step? And does the Id of the Step matter?

    – Quirijn
    2 days ago











  • You can create a module or a step if I'm not mistaken. I don't think the Id matters indeed.

    – Raimond
    2 days ago






  • 3





    It works! Only one thing: if your step contains a Module instead of a Transformer (like mine does), you must put it BEFORE the step with the ID Tridion-Cleanup. Otherwise the zip folder is cleaned up, and you will get an NullPointerException during the instantiation of your module. So put it ALMOST at the end, but before the cleanup step!

    – Quirijn
    yesterday











  • True! Good to see it's solved.

    – Raimond
    yesterday















7














You should be able to add a pipeline element after the "Tridion-Commit-TX" pipeline and before the Cleanup Step, which then should act as a PostCommit. In XO, the same happens:



<!-- Add the following pipelines after the existing "Tridion-Commit-TX" pipelines -->
<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentDeploy">
<Transformer Class="com.tridion.transformer.TCDLDefaultTransformer"/>
</Step>
</Steps>
</Pipeline>





share|improve this answer

























  • hahah raimond you had quicker fingers. :D in any case, here is the link: docs.sdl.com/LiveContent/content/en-US/…

    – Marko Milic
    2 days ago











  • I guess in my case I should have a Module instead of a Transformer in that step? And does the Id of the Step matter?

    – Quirijn
    2 days ago











  • You can create a module or a step if I'm not mistaken. I don't think the Id matters indeed.

    – Raimond
    2 days ago






  • 3





    It works! Only one thing: if your step contains a Module instead of a Transformer (like mine does), you must put it BEFORE the step with the ID Tridion-Cleanup. Otherwise the zip folder is cleaned up, and you will get an NullPointerException during the instantiation of your module. So put it ALMOST at the end, but before the cleanup step!

    – Quirijn
    yesterday











  • True! Good to see it's solved.

    – Raimond
    yesterday













7












7








7







You should be able to add a pipeline element after the "Tridion-Commit-TX" pipeline and before the Cleanup Step, which then should act as a PostCommit. In XO, the same happens:



<!-- Add the following pipelines after the existing "Tridion-Commit-TX" pipelines -->
<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentDeploy">
<Transformer Class="com.tridion.transformer.TCDLDefaultTransformer"/>
</Step>
</Steps>
</Pipeline>





share|improve this answer















You should be able to add a pipeline element after the "Tridion-Commit-TX" pipeline and before the Cleanup Step, which then should act as a PostCommit. In XO, the same happens:



<!-- Add the following pipelines after the existing "Tridion-Commit-TX" pipelines -->
<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentDeploy">
<Transformer Class="com.tridion.transformer.TCDLDefaultTransformer"/>
</Step>
</Steps>
</Pipeline>






share|improve this answer














share|improve this answer



share|improve this answer








edited yesterday

























answered 2 days ago









RaimondRaimond

6,9781329




6,9781329












  • hahah raimond you had quicker fingers. :D in any case, here is the link: docs.sdl.com/LiveContent/content/en-US/…

    – Marko Milic
    2 days ago











  • I guess in my case I should have a Module instead of a Transformer in that step? And does the Id of the Step matter?

    – Quirijn
    2 days ago











  • You can create a module or a step if I'm not mistaken. I don't think the Id matters indeed.

    – Raimond
    2 days ago






  • 3





    It works! Only one thing: if your step contains a Module instead of a Transformer (like mine does), you must put it BEFORE the step with the ID Tridion-Cleanup. Otherwise the zip folder is cleaned up, and you will get an NullPointerException during the instantiation of your module. So put it ALMOST at the end, but before the cleanup step!

    – Quirijn
    yesterday











  • True! Good to see it's solved.

    – Raimond
    yesterday

















  • hahah raimond you had quicker fingers. :D in any case, here is the link: docs.sdl.com/LiveContent/content/en-US/…

    – Marko Milic
    2 days ago











  • I guess in my case I should have a Module instead of a Transformer in that step? And does the Id of the Step matter?

    – Quirijn
    2 days ago











  • You can create a module or a step if I'm not mistaken. I don't think the Id matters indeed.

    – Raimond
    2 days ago






  • 3





    It works! Only one thing: if your step contains a Module instead of a Transformer (like mine does), you must put it BEFORE the step with the ID Tridion-Cleanup. Otherwise the zip folder is cleaned up, and you will get an NullPointerException during the instantiation of your module. So put it ALMOST at the end, but before the cleanup step!

    – Quirijn
    yesterday











  • True! Good to see it's solved.

    – Raimond
    yesterday
















hahah raimond you had quicker fingers. :D in any case, here is the link: docs.sdl.com/LiveContent/content/en-US/…

– Marko Milic
2 days ago





hahah raimond you had quicker fingers. :D in any case, here is the link: docs.sdl.com/LiveContent/content/en-US/…

– Marko Milic
2 days ago













I guess in my case I should have a Module instead of a Transformer in that step? And does the Id of the Step matter?

– Quirijn
2 days ago





I guess in my case I should have a Module instead of a Transformer in that step? And does the Id of the Step matter?

– Quirijn
2 days ago













You can create a module or a step if I'm not mistaken. I don't think the Id matters indeed.

– Raimond
2 days ago





You can create a module or a step if I'm not mistaken. I don't think the Id matters indeed.

– Raimond
2 days ago




3




3





It works! Only one thing: if your step contains a Module instead of a Transformer (like mine does), you must put it BEFORE the step with the ID Tridion-Cleanup. Otherwise the zip folder is cleaned up, and you will get an NullPointerException during the instantiation of your module. So put it ALMOST at the end, but before the cleanup step!

– Quirijn
yesterday





It works! Only one thing: if your step contains a Module instead of a Transformer (like mine does), you must put it BEFORE the step with the ID Tridion-Cleanup. Otherwise the zip folder is cleaned up, and you will get an NullPointerException during the instantiation of your module. So put it ALMOST at the end, but before the cleanup step!

– Quirijn
yesterday













True! Good to see it's solved.

– Raimond
yesterday





True! Good to see it's solved.

– Raimond
yesterday











3














https://docs.sdl.com/LiveContent/content/en-US/SDL%20Tridion%20Sites-v1/GUID-93347DFB-D6EB-4398-A78D-220B7FD685E3



Go to your Content Deployer's config folder, and open deployer-conf.xml for editing.
Find the last Pipeline section in the file, and add the following two Pipeline sections below the last Pipeline section in the file:



<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentDeploy">
<Transformer Class="com.tridion.transformer.TCDLDefaultTransformer"/>
</Step>
</Steps>
</Pipeline>
<Pipeline Id="Tridion-Undeploy-PostCommit" Action="Undeploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentUnDeploy" />
</Steps>
</Pipeline>





share|improve this answer




















  • 1





    Hi Andrew, I think the first <Pipeline...> element went missing in your answer. Could you add that? Meanwhile, I will try it out.

    – Quirijn
    2 days ago











  • thanks did from my phone.. tricky ;)

    – Andrew William Ross
    2 days ago











  • Thanks for your help. You were correct, just like Raimond, but I marked his answer as correct because it had the additional discussion which might be helpful to people in the future. I upvoted your answer too.

    – Quirijn
    yesterday















3














https://docs.sdl.com/LiveContent/content/en-US/SDL%20Tridion%20Sites-v1/GUID-93347DFB-D6EB-4398-A78D-220B7FD685E3



Go to your Content Deployer's config folder, and open deployer-conf.xml for editing.
Find the last Pipeline section in the file, and add the following two Pipeline sections below the last Pipeline section in the file:



<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentDeploy">
<Transformer Class="com.tridion.transformer.TCDLDefaultTransformer"/>
</Step>
</Steps>
</Pipeline>
<Pipeline Id="Tridion-Undeploy-PostCommit" Action="Undeploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentUnDeploy" />
</Steps>
</Pipeline>





share|improve this answer




















  • 1





    Hi Andrew, I think the first <Pipeline...> element went missing in your answer. Could you add that? Meanwhile, I will try it out.

    – Quirijn
    2 days ago











  • thanks did from my phone.. tricky ;)

    – Andrew William Ross
    2 days ago











  • Thanks for your help. You were correct, just like Raimond, but I marked his answer as correct because it had the additional discussion which might be helpful to people in the future. I upvoted your answer too.

    – Quirijn
    yesterday













3












3








3







https://docs.sdl.com/LiveContent/content/en-US/SDL%20Tridion%20Sites-v1/GUID-93347DFB-D6EB-4398-A78D-220B7FD685E3



Go to your Content Deployer's config folder, and open deployer-conf.xml for editing.
Find the last Pipeline section in the file, and add the following two Pipeline sections below the last Pipeline section in the file:



<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentDeploy">
<Transformer Class="com.tridion.transformer.TCDLDefaultTransformer"/>
</Step>
</Steps>
</Pipeline>
<Pipeline Id="Tridion-Undeploy-PostCommit" Action="Undeploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentUnDeploy" />
</Steps>
</Pipeline>





share|improve this answer















https://docs.sdl.com/LiveContent/content/en-US/SDL%20Tridion%20Sites-v1/GUID-93347DFB-D6EB-4398-A78D-220B7FD685E3



Go to your Content Deployer's config folder, and open deployer-conf.xml for editing.
Find the last Pipeline section in the file, and add the following two Pipeline sections below the last Pipeline section in the file:



<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentDeploy">
<Transformer Class="com.tridion.transformer.TCDLDefaultTransformer"/>
</Step>
</Steps>
</Pipeline>
<Pipeline Id="Tridion-Undeploy-PostCommit" Action="Undeploy" Verb="Process">
<Steps>
<Step Id="XoContentFragmentUnDeploy" />
</Steps>
</Pipeline>






share|improve this answer














share|improve this answer



share|improve this answer








edited 2 days ago

























answered 2 days ago









Andrew William RossAndrew William Ross

1,504718




1,504718







  • 1





    Hi Andrew, I think the first <Pipeline...> element went missing in your answer. Could you add that? Meanwhile, I will try it out.

    – Quirijn
    2 days ago











  • thanks did from my phone.. tricky ;)

    – Andrew William Ross
    2 days ago











  • Thanks for your help. You were correct, just like Raimond, but I marked his answer as correct because it had the additional discussion which might be helpful to people in the future. I upvoted your answer too.

    – Quirijn
    yesterday












  • 1





    Hi Andrew, I think the first <Pipeline...> element went missing in your answer. Could you add that? Meanwhile, I will try it out.

    – Quirijn
    2 days ago











  • thanks did from my phone.. tricky ;)

    – Andrew William Ross
    2 days ago











  • Thanks for your help. You were correct, just like Raimond, but I marked his answer as correct because it had the additional discussion which might be helpful to people in the future. I upvoted your answer too.

    – Quirijn
    yesterday







1




1





Hi Andrew, I think the first <Pipeline...> element went missing in your answer. Could you add that? Meanwhile, I will try it out.

– Quirijn
2 days ago





Hi Andrew, I think the first <Pipeline...> element went missing in your answer. Could you add that? Meanwhile, I will try it out.

– Quirijn
2 days ago













thanks did from my phone.. tricky ;)

– Andrew William Ross
2 days ago





thanks did from my phone.. tricky ;)

– Andrew William Ross
2 days ago













Thanks for your help. You were correct, just like Raimond, but I marked his answer as correct because it had the additional discussion which might be helpful to people in the future. I upvoted your answer too.

– Quirijn
yesterday





Thanks for your help. You were correct, just like Raimond, but I marked his answer as correct because it had the additional discussion which might be helpful to people in the future. I upvoted your answer too.

– Quirijn
yesterday

















draft saved

draft discarded
















































Thanks for contributing an answer to Tridion Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftridion.stackexchange.com%2fquestions%2f19954%2fhow-can-i-run-a-deployer-module-after-the-commit%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

NetworkManager fails with “Could not find source connection”Trouble connecting to VPN using network-manager, while command line worksHow can I be notified about state changes to a VPN adapterBacktrack 5 R3 - Refuses to connect to VPNFeed all traffic through OpenVPN for a specific network namespace onlyRun daemon on startup in Debian once openvpn connection establishedpfsense tcp connection between openvpn and lan is brokenInternet connection problem with web browsers onlyWhy does NetworkManager explicitly support tun/tap devices?Browser issues with VPNTwo IP addresses assigned to the same network card - OpenVPN issues?Cannot connect to WiFi with nmcli, although secrets are provided