How to retrieve workflow status (rejected or approved.)
W
Wijden DAHMEN
started a topic
over 2 years ago
Hello,
I would like to retrieve the status of a workflow launched by Semarchy.
I want to know if the request has been rejected or approved.
Example: a user initiated a workflow to create a perfume.
The data steward rejected the creation of this perfume.
How do I retrieve that the creation of this perfume has been rejected
Thank you
Best Answer
T
Toshish Chauhan
said
over 2 years ago
Hlo Wijden,
In My Tasks we have My Workflows tab when we click here on that all workflows list appears and when we click on any workflow a side tab will arrive in which we can see the history or lifecycle of workflow.
In My Tasks we have My Workflows tab when we click here on that all workflows list appears and when we click on any workflow a side tab will arrive in which we can see the history or lifecycle of workflow.
W
Wijden DAHMEN
said
over 2 years ago
Hello Toshish,
Thank you for your quick reply. Where can I find this information in the repository and API?
T
Toshish Chauhan
said
over 2 years ago
Hlo Wijden,
In Db side you can find it in wf_step_instance table. You can use this query to retrieve Discard or rejected product :-
select * from wf_step_instance where selected_transition_name = 'DiscardProduct';
For approved product you can use this query :-
select * from wf_step_instance where selected_transition_name = 'SaveToxDM';
Wijden DAHMEN
Hello,
I would like to retrieve the status of a workflow launched by Semarchy.
I want to know if the request has been rejected or approved.
Example: a user initiated a workflow to create a perfume.
The data steward rejected the creation of this perfume.
How do I retrieve that the creation of this perfume has been rejected
Thank you
Hlo Wijden,
In My Tasks we have My Workflows tab when we click here on that all workflows list appears and when we click on any workflow a side tab will arrive in which we can see the history or lifecycle of workflow.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstToshish Chauhan
Hlo Wijden,
In My Tasks we have My Workflows tab when we click here on that all workflows list appears and when we click on any workflow a side tab will arrive in which we can see the history or lifecycle of workflow.
Wijden DAHMEN
Hello Toshish,
Thank you for your quick reply. Where can I find this information in the repository and API?
Toshish Chauhan
Hlo Wijden,
In Db side you can find it in wf_step_instance table. You can use this query to retrieve Discard or rejected product :-
select * from wf_step_instance where selected_transition_name = 'DiscardProduct';
For approved product you can use this query :-
select * from wf_step_instance where selected_transition_name = 'SaveToxDM';
Wijden DAHMEN
Thank you :)
-
LOV label in Named Query
-
How we can set Dynamically changing Form field Description?
-
Is it possible to have a conditional survivorship rule based on a SemQL filter (akin to the filter on privileges)?
-
Where Do I View 2 Merged Records?
-
Show/hide an attribute in a form
-
Restrict access of attributes
-
Is it possible to manage visible/invisible value in List depend on user role??
-
Why am I unable to merge duplicates?
-
How are child records selected when parent records are manually merged?
-
Can the response from the API Call Response can be formatted differently in the JSON output?
See all 178 topics