Skip to Content
author's profile photo Former Member
Former Member

Trigger workflow depending on the custom table flag.

Hi,

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.

Please guide me how to do this.

This custom table value is not available in the containers.

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.

But still the workflow is getting triggered.

Is there any other or correct way to do this?

since the copied function module was custom FM, I have defined the new exception and raised it.

I am new to workflow, so please guide if i am doing anything wrong.

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2010 at 04:46 AM

    Hi

    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.

    Regards

    Sachin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      But we are using standard Workflow.

      If we have to use the custom workflow, then i can do the setting using fork and using all the custom data.

      But Since it is working and standard workflow is provided for this, we decided to go for it...

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.