<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Trigger workflow depending on the custom table flag. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-workflow-depending-on-the-custom-table-flag/m-p/7411969#M1548228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;There is a another solution for this. Create a new event and required container element in your business object. Your custom workflow should be triggered on this event. You can trigger this event in appropriate user-exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Oct 2010 04:46:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-12T04:46:47Z</dc:date>
    <item>
      <title>Trigger workflow depending on the custom table flag.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-workflow-depending-on-the-custom-table-flag/m-p/7411968#M1548227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have maintained a flag in custom table. Now we want to enable or disable the triggering of workflow depending on this flag which is maintained in the custom table.&lt;/P&gt;&lt;P&gt;Please guide me how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This custom table value is not available in the containers.&lt;/P&gt;&lt;P&gt;Hence, I copied the standard check function for the workflow and at the end of FM checked this flag and raised exception if it fails.&lt;/P&gt;&lt;P&gt;But still the workflow is getting triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other or correct way to do this?&lt;/P&gt;&lt;P&gt;since the copied function module was custom FM, I have defined the new exception and raised it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to workflow, so please guide if i am doing anything wrong.&lt;/P&gt;&lt;P&gt;Basically the client wants to activate or deactivate this workflow by maintaining the flag in custom table, so that he would not have to check with support again and again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 20:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-workflow-depending-on-the-custom-table-flag/m-p/7411968#M1548227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-11T20:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger workflow depending on the custom table flag.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-workflow-depending-on-the-custom-table-flag/m-p/7411969#M1548228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;There is a another solution for this. Create a new event and required container element in your business object. Your custom workflow should be triggered on this event. You can trigger this event in appropriate user-exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 04:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-workflow-depending-on-the-custom-table-flag/m-p/7411969#M1548228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-12T04:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger workflow depending on the custom table flag.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-workflow-depending-on-the-custom-table-flag/m-p/7411970#M1548229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But we are using standard Workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we have to use the custom workflow, then i can do the setting using fork and using all the custom data.&lt;/P&gt;&lt;P&gt;But Since it is working and standard workflow is provided for this, we decided to go for it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 12:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-workflow-depending-on-the-custom-table-flag/m-p/7411970#M1548229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-12T12:16:13Z</dc:date>
    </item>
  </channel>
</rss>

