Coming Soon: Task Based UI @ Siebel 7.8 | Next Tip »Home
Home » Scriptless Siebel

Scriptless Siebel – Create Activity on SetFieldValue

28 June 2009 1,606 views 9 Comments
OkAvarageGoodVery GoodExcellent (9 votes, average: 4.56 out of 5)
Loading ... Loading ...
  • Share/Bookmark

Related Posts

9 Comments »

  • bob MonsterID Icon bob said:

    what is the use of such an empty news …
    next time we will see how to add a field on a applet …

  • Alex MonsterID Icon Alex said:

    2 bob: It can be useful for someone, who want to understand how to configure Scriptless Siebel and didn’t understand where to start from.

  • Dos MonsterID Icon Dos said:

    Normally this sort of requirement should have been refined before commiting to the business. Changing the field would do something in other bc is detrimental as what would happen if I would press Esc or undo the record after I change the Account Type.

    Thx
    Dos

  • Josh MonsterID Icon Josh said:

    Part 1

    Regarding Dos's comment, what if the user accidently changes the Account Type, and then after editing other fields, prior to the save of the record changes the account type back to the original value, the workflow will still have fired and an invalid activity was created.

    I believe it is better design to only execute automation such as this after the record has been committed. Therefore can you please provide the way to develop this with a scriptless solution that will execute the workflow after the commit if the Account Type has been as per requirement. My suggestion would be to have a runtime event on SetFieldValue which would set a profile attribute to flag that the Account Type has been updated. If the user then updates the account type to be back to the previous value prior to commit however then the profile attribute would have to be reset. Therefore there must be some logic in this process to know what the value of Account Type is prior to the record being edited.

  • Josh MonsterID Icon Josh said:

    Part 2

    Also in the theme of scriptless siebel, I would like to know how you would go about an additional requirement. Let's say that the client wants this automation to happen in real time and the client would like to see the updated data immediately after the activity is created. Ie. If the user is in an Oppurtunity > Activities detail view or if there exists an activities MVG on the current oppurtunity view then the client would like to see this data immediatly. How could this be implemented through the scriptless siebel solution? ……Quite often I receive this sort of requirement from the client.

    Also to throw it out there, I would like to know if it is po

  • neel MonsterID Icon neel (author) said:

    Josh,

    I have been thinking about it.. but haven’t had a chance to actually try something.
    Solution suggested by you also came in my mind but it doesn’t feel right.. too many profile attributes and too many events will need to be taken care.

    I am sure there is a better solution for this and is definitely worth finding.

  • neel MonsterID Icon neel (author) said:

    I am not sure what you mean by

    client would like to see the updated data immediately after the activity is created

    It does happen in real time and you immideatly start seeing the created activity.

    I think I am missing something here

  • Josh MonsterID Icon Josh said:

    Hi Neel

    “client would like to see the updated data immediately after the activity is created”

    I just wanted to iterate that if the automation was to occur in the background (such as a workflow invoked which would create the record out of context) that the current view would need to be refreshed after this automation to show the updated data.

    In my updated requirement where the client want the activity to be created after the writerecord, at current the only way i know to do this is using script on the WriteRecord method. The way to create the new activity would be to instantiate the activity BC out of context and create the activity. However then the activity would not show up in the current context. So after that there would be script to refresh the current applet using FINS Teller UI Navigation business service RefreshCurrentApplet method.

    In your scriptless solution, does this create the activity in the current context so that if you were in an Oppurtunity > Activities detail view and you updated the Account Type field it would show the new activity in the detail view list immediately? (im not sure i havent tried the solution).

  • neel MonsterID Icon neel (author) said:

    Yes, it shows the activity immediately…I have tested it

    The reason is, if a workflow is executed through runtime event or user property then the current business context is passed to the workflow due to BO given while creating the workflow record.
    And my workflow uses Siebel Operation – Insert method which means it is creating the record in context of Active BO so it reflects immediately.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.