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

Trigger Workflow when a new dialog user created

Hi.

I want to trigger my Wf when a new dialog user is created. For these purpose I have activated in "Start Events" of Basic data:

BO USER CREATED.

But my Wf is not triggered automatically. But when I test it with the hand, it works correctly and Wf completed.

Please some advise.

regards, tuwien

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Apr 11, 2011 at 12:34 PM

    Hi tuwien,

    If no event is raised when you check the event trace as suggested by Rob then you will have to find a way to raise the event yourself.

    You could so this via custom code and function SWE_EVENT_CREATE or use CHANGE DOCUMENTS (If change documents are active for the functinoality) via SWEC. See the online help at

    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/c5/e4aec8453d11d189430000e829fbbd/frameset.htm

    Regards,

    Eddie

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Eddie,

      That's not the only reason. SAP_WAPI_CREATE_EVENT is easier to use and people (newbies) have reported errors they've encountered using SWE_EVENT_CREATE. Also, it makes tracking down where events are created easier, by doing a where-used on SAP_WAPI_CREATE_EVENT.

      regards

      Rick Bakker

      hanabi technology

  • Posted on Apr 11, 2011 at 11:01 AM

    Hi,

    check the event log (SWEL/SWELS) to see if events are created when you create a user.

    Kind regards, Rob Dielemans

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 21, 2011 at 09:42 AM

    I have solved my problem.

    The event doesn't trigger when a new user is created, because it doesn't denote BOR USER, but BOR USR01 which hasn't any event! So, when a new user is created by administrator it is maintained in the table USR01(same name with BOR USR01)

    By the way before incorrectly I explored my problem in BOR USER which has event such created, deleted, roles_changed and cloned.

    regards,

    tuwien

    Add a comment
    10|10000 characters needed characters exceeded

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.