How to change status "Not Yet Requested" to "Approved"?

dhm
Kilo Explorer

Hey guys,

I have an application in SNC. I also created a service for to some business logic. This workflow worked fine in Fuji Patch 3 but after I upgraded my instance to Fuji Patch 5, it does not work any more when price of requested item equals 0. My logic is:

  • If price of item is 0, it'll go to "Approval Action"* activity and makes the status of workflow to "Approved" and do the other activities after this.
  • If price of item is greater than 0, it'll go to "Approval Group" activity. If Approver approves this request, it'll go to "Approval Action"* activity and makes the status of workflow to "Approved" and do the other activities after this. If Approver rejects this request, it'll go to "Approval Action"** activity and makes the status of workflow to "Rejected" and ends the workflow.

With requested item with price greater than 0, the workflow works fine. But if price is 0, the status of workflow always is Not Yet Requested and I don't how to change the status of workflow.

Do you have any ideas for this issue?

BR,

Duc

Note:

* Is Approval Action for Approved

** is Approval Action for Rejected

1 ACCEPTED SOLUTION

jfjones
Mega Contributor

Duc, we did some research as we were subject to the same result as you. Come to find out the "Service Catalog Request" workflow was turned off by one of our testers. Check in the properties of the Service Request Workflow and make sure it is set to "Run the Workflow" in the "If the condition matches" select box. Ours was set to "none" by our testing group.



Capture Serv Req.JPG


View solution in original post

14 REPLIES 14

Tanaji Patil
Tera Guru

Hi Duc,



As you are not generating any approvals before the approval action when the price of the item is 0, it might be setting the status to 'Not Yet Requested'.


Use 'Set Values' activity in this case and try.



Thanks,


Tanaji


Hi Tanaji,


I have add "Set Values" activity in my workflow but seems like it doesnt work I still get "Not Yet Requested".



BR,


Duc


Have you removed the approval action activity?


No, I didnt remove anything. Just add more activity