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

aaaaaaa.png


Here is my workflow.


Sorry for my drawing


Make it as shown below-


Untitled.png


Thanks,


Tanaji


Hi Tanaji,


Thank you but It still doesnt work Here is my new workflow and detail of Set Value activity


workflow.png


set_act.png


Do you mean it is not setting the Approval field on the form to 'Approved'?


If you want the status to be set to 'Approved' then add that condition too in the set values activity.


If you want to check where your workflow is struck or any issue then check the workflow instance for that record by clicking the 'show workflow' related link on the form. It will show which activity your workflow is waiting for, which path it is following, etc.


Hi Tanaji,
The problem here is workflow does not run. The status is "Not Yet Request", there're no active activity.