Building Your First Business Process - Hands on Challenge (Solution)

Building Your First Business Process - Hands on Challenge (Solution)

  

Greetings.

I was wondering if anyone could share the solutions for this exercise since i'm stuck: https://www.outsystems.com/learn/lesson/911/hands-on-challenge/

Thanks in advance!

Hello b_pal. Sharing solutions is not allowed in this forum, but write me a message with details of your progress, and I can help you.

I am also stuck with where to begin.  My first thought was to update the Assign Reviewer form to have two names: Primary Reviewer and Secondary Reviewer.  Then the AssignReviewer action can use the CreateOrUpdateReview action twice, passing in a different user each time.  This doesn't work, however, because the Assign Reviewer form has to correspond to a single Review.  So, I guess we're going to make poor Chris open the Assign Reviewer box twice?

In the Session Selection process, there could be two tracks coming off of the Start node, as described in the lesson on parallel activities.  However, I don't understand how that works with the UI.  I understand that you want people to work through this on their own, but the guidance on this exercise is sparse.  Any suggestions?

Hi, 

I have not tried, but i think for assigning reviewer, we need to modify the form to enable Chris to choose 2 reviewers.

Then i got stuck in assigning human activity to each reviewer.

Regards,

Indra


Hello Scott. I will help you if you share the code that you are working on via private message.

Thanks.

Hi there,

Is there a clue on how to assign a proposal to 2 reviewers by Christ? Do we need to change the Form such that Christ can tick 2 reviewers all at once in one task?

regards,

indra

Indra, there are multiple solutions to the problem, and you should be able to decide how to make the changes necessary to support 2 reviewers for a session.

If you want help, please send me the code that you currently have, and in private we can discuss your options.

Thank you Sir,

After lost in two days, I am nearly to my solution, but i 'll ask some concepts i am still in doubt:

- How to read this wait activity? 

When a review (say Rachael) give a suggest (UpdateReview), the Wait is not close, but it is waiting for the second reviewer (say ROn); it closed when both have done updateReview. Does this mean that the Wait is waiting to close per proposedSessionId, not per ReviewId basis? So, the UpdateReview (in the CLose On property is rather misleading): 


regards,

indra 

For Christ to assign 2 reviewers, i can manage it by NOT closing the AssignReviewer taskbox (and in this case taskbox is something just like a reminder (accessories- trivial) - not a non trivial business action) in the screen action until  two reviewers are assigned, something like this (is it correct):

regards,

indra 

May be my 2 cents about BPT:

I found something elegant in ORacle tech called SQL Model, but it is rarely used as it is rather hard to learn. And I rather de javu when learning BPT :). Hopefully, i am wrong.

regards,

indra


Hello Indra. Your latest posts are somewhat confusing.

I cannot tell by your pictures if you are doing it correctly or not. Like I said, there are multiple solutions, and I would rather check the code that you've produced until I can give you feedback on what's right and what's wrong. You can save your work in Service Studio (CTRL-S) and send me the file in a private message.


Your first post said the CloseOn was misleading. The CloseOn determines when the Wait activity closes. The timeout is also another way of telling when the Wait activity will close. However, you can cancel any of those Close events if you throw an AbortActivityChange Exception during the OnClose callback.


Your second post has a piece of code that is out of context. Is that code inside a screen action, or inside the process? If it's inside a process, then the Feedback Message will not work - I hope you know why is that. Either way, I don't think you need a call to ActivityClose, so you might be doing something wrong or at least overcomplicating the solution.


Your third post compares BPT to SQL Model. I had never heard of this feature, but upon searching by it I found this, which describes some SQL syntax to performe multidimensional calculations. I really don't know how to compare that with BPT, as they are completely different things. I can only think that you mistaken the name of some other Oracle product, or at least I didn't find the tool you were thinking of.

From this I can give you an advice for future posts, please be more specific. Either include a link to the product you're mentioning, or at least make clear how you are comparing both products.

I'm also stuck with the Master Class on Modeling Business Processes (BPT) challenge.
I manage to assign two 2 reviewers, but after I assigned the second person when I look in serviceCenter the user is the same as the first person to who I assigned the session. See attached image.
How can I solve this problem/what is going wrong?