How to create activity workflow based on the Web API 2 services
Hi,
We have Web API 2 services and we want create activity workflow based on the Web API 2 services.
Web API 2 services provide some application operations and based on this operations we would like to create custom activity workflow.
Question:
Is that possible?
Could you please give best practices to create activity workflow based on the Web API 2 services ?
Thanks for your support.
HI Max_P,
Welcome to workflow forum.
ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.
I researched relevant topic about creating workflow application using Web API 2, I just found these resources about it.
Learn About ASP.NET Web API
Hope it helps.
Best regards,
Angie
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
How to create a record based on the name of a file in the file-system?
Hi,
With a lot of pictures I want to have a database to gather some information about these pictures.
First question is how to generate a record based on a file in the file system?
e.g. the pictures are "c:\fotos\2009\01\disc_001.jpg" to "c:\foto\2009\01\dis_98.jpg" .
now i want to create records with as one of the attributes the name of the picture (not the picture itself). how to create these records (based on the information of the file-ssytem). i.e. the number of records should be the same as the number of pictures.
any suggestions?
any reaction will be appreciated.
LeoLink to Create directory
http://www.adp-gmbh.ch/ora/sql/create_directory.html
You can create a list of files in the directory and read the list files from that directory.
[UTL_FILE Documentation |http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10802/u_file.htm#996728]
[Solution using Java|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584]
SS -
How to create a workflow based on std 11i workflow
How do you create a new workflow process based on one of the std workflows embedded in the 11i apps?
Thanks,
Dave.Dave, there are a lot of workflows in 11i apps, my best advice would be to read through the Oracle Workflow Guide on Oracle Support Policy for Predefined Workflows, Events, and Subscriptions and to look through Workflow Development guidelines on Appsnet: http://www.oracle.com/appsnet/content.html (scroll down on that page)
How do you create a new workflow process based on one of the std workflows embedded in the 11i apps?
Thanks,
Dave. -
How to create a shape based on the shape of an image
I want to erase a portion of a mask based on the shape of an image. how can i do this? btw how to create a circle? thx
Both your questions leave room for imagining what you might really mean, but here's a shot at answering them.
If you have a mask that you want to erase portions of based on an image... assuming the mask is a simple rectangle you drew with the rectangle tool, change the opacity of the rectangle's fill in the color panel to make it see-thru, place the mask over the image, and using the eraser tool, erase the portions of the mask that you do not intend to retain using the image below it as a guide.
As for drawing a circle, hover over the rectangle tool and a menu should appear. Select the oval/ellipse tool. To draw a circle, hold down the shift key and draw just as you did for the rectangle. The shift key forces it to retain equal width and height. -
How to create a report based on the selection of a node of a tree
Hello,
I am new to Oracle Apex and I was trying to build a tree and also an interactive report based on the empno column of the emp table.
I have created a tree based on emp table. Now I want to display records of the employee selected in the tree.
Here is the tree query:
select case when connect_by_isleaf = 1 then 0
when level = 1 then 1
else -1
end as status,
level,
"ENAME" as title,
null as icon,
"EMPNO" as value,
null as tooltip,
null as link
from "#OWNER#"."EMP"
start with "MGR" is null
connect by prior "EMPNO" = "MGR"
order siblings by "ENAME"
Can anyone tell me step by step how to go from here?
I tried to follow the thread Re: tree question but could not understand much from it.The approach for reloading the page and displaying the report is quite simple.
<li>You start by creating a new page item which would be used to store the selected node ID , eg. P100_SELECTED_NODE (you can make it atext item and change it hidden once everything works as expected)
<li>Modify the tree query and change the link column in the tree definition SQL query to a link to the same
for example if your page is 100 , you would make the tree node link to the same page but set the P100SELECTED_NODE with selected node's id_
This done here
{message:id=4410987}
In this case it would be
'f?p=&APP_ID.:100:'||:APP_SESSION||'::::P100_SELECTED_NODE:'||EMPNO as link Now when you click on a tree node link , it would come back to the same page, but set the P100_SELECTED_NODE with the empno of the clicked node.
<li> All that is left to do, is changing your Report so that it refers to the new item inorder to filter the records for this employee i.e empno
SELECT ...
WHERE empno= :P100_SELECTED_NODE -
How to create a diagram based on the query?
Hi All,
I want to create a diagram which will show a structure based on the data in the tables.
For example:-
if in a table, we have on two columns,
one have unique breed of animal and other columns have sub-breeds under that breed. it is one to many mapping.
in some other table,we have on two columns,
one have unique sub-breed of animal and other columns have again sub-breeds under that breed. it is one to many mapping.
i want to display the diagram as shown at the following url:- http://www.signosemio.com/a_analyse-par-classement.asp (diagram:- The naïve ontological classes)
At the place of Boxes, i will show images.
but i am not able to generate this diagram.
please help.I am afraid, the Google Visualization plugin (which is used internally by that apex plugin) does not support multiple parents.
The documentation page says the following
Each node can have zero or one parent node, and zero or more child nodes.I tried adding an extra row for a child with an additional parent, but it removed the old parent association for that record in the chart
You might have to some other plugin which supports that or find an JS/jQuery plugin that renders as per your requirement and then write the code yourself to pass the data to JS function from the page. -
How to send a encrypted packet to the REST API Service using Fiddler or Post Man
Hi,
I am trying to send encrypted (AES) JSON packet to the REST API on the Azure cloud using tools like Fiddler.
I am trying to use POST method and attaching the encrypted .aes file to the Fiddler tool.
I am getting the 3 types of error messages.
1) HTTP/1.1 502 Fiddler - DNS Lookup Failed
2) HTTP/1.1 500 Internal Server Error
3) HTTP/1.1 407 Proxy Authentication Required
I have tried with my company network and tried with external internet connection also.
Please help me.
Thank you!
Regards,
KrishnaHi,
you can create a simple rest api on the Azure cloud, and then try to use fiddler to do some test, so that we can exclude the environment issue.
Regards -
How to create a report based on the portal30.wwsbr_all_items?
Hi,
I created items in a folder in a content area. I would like to create a portal report and display the items of the folder of the content area.
I logged in the database as portala30 and issued the following statement:
SELECT ID,NAME FROM WWSBR_ALL_ITEMS WHERE CAID = 331
AND FOLDER_ID = 49959;
(I found out the caid for content area and folder_id for folders
from the portal30.wwsbr_all_content_areas, and portal30.wwsbr_all_folders.)
I have a row returned from my query in sqlplus (which is correct).
Then I go into portal as portal30-> application(based on portal30 schema) -> create a report,
use the same sql statement that I used above, and I got the following error message at run time:
Error: ORA-01445: cannot select ROWID from a join view without a key-preserved table (WWV-11230)
Failed to parse as PORTAL30_PUBLIC - SELECT ID,NAME FROM PORTAL30.WWSBR_ALL_ITEMS order by rowid (WWV-08300)
Note: I did run the sbrapi.sql to grant access to the content area api to portal30_public.
What else I am missing?
Thanks;
Kelly.Hi,
I created items in a folder in a content area. I would like to create a portal report and display the items of the folder of the content area.
I logged in the database as portala30 and issued the following statement:
SELECT ID,NAME FROM WWSBR_ALL_ITEMS WHERE CAID = 331
AND FOLDER_ID = 49959;Hy i've done the same thing on my Portal and it works.
The things i've seen is that you must remove the ';' character because you don't need it with the report component.
Error: ORA-01445: cannot select ROWID from a join view without a key-preserved table (WWV-11230)
Failed to parse as PORTAL30_PUBLIC - SELECT ID,NAME FROM PORTAL30.WWSBR_ALL_ITEMS order by rowid (WWV-08300)The second thing is that i've got the same error on other report and the solution is to simply add and order by at the end of the statement like this :
SELECT ID,NAME
FROM WWSBR_ALL_ITEMS
WHERE CAID = 331
AND FOLDER_ID = 49959
ORDER BY 2
I've done this when i've got this error and it solve the problem.
Best regards
Arnaud Bontemps
mail : [email protected]
web : http://www.labo-oracle.com -
How to create a workflow composite with the ability to upload a document in
Hi,
Is there any way to attach/upload a document while creating or modifying a user.
I have a requirement where user will create a document(.xls/.csv/.doc) with his details and he needs to upload that document while updating the profile. If he is creating the profile then this document has to be forwarded to his manager. By validating the document manger will approve the request.
Any help on this is greatly appreciated.
Regards,
mahanteshUse a JFrame and paint on the content pane. Or a Frame with a Canvas (who the heck still uses AWT?).
They probably don't do anything because painting a button is not enough. It actually needs to be a button. Or Menu. -
How to create a report based on selected item from Select list?
Hi,
I have created a tables_LOV based on:
select table_name d, table_name r from user_tab_cols
where column_name like '%_type%'
Then I created a page item ListOfTables, Display as select list and pointing to tables_LOV.
I run the page, and i can select the table i want from the drop down list.
How to create a report based on the selected item? (ex: select * from selected_table)
many thanks in advance
SalahHi Salah,
Allright, have a look at this page: http://apex.oracle.com/pls/apex/f?p=vincentdeelen:collection_report
I think that simulates what you're trying to accomplish. I've set up the simplest method I could think of.
The report is based on an apex collection. If you are not familiar with that, you should study the documentation: APEX_COLLECTION
To recreate my example you should:
1) create an (interactive) report on your collection
SELECT *
FROM APEX_collections
WHERE collection_name = 'MY_COLLECTION'
2) create a page_item select list for the tables you want to display (in my case this is called "P38_TABLES" )
3) create a dynamic action that triggers on change of your select list page_item. The dynamic action must be a PL/SQL procedure perfoming the following code:
declare
l_query varchar2(4000);
begin
l_query := 'select * from '||:P38_TABLES;
if apex_collection.collection_exists
( p_collection_name => 'MY_COLLECTION' )
then
apex_collection.delete_collection
( p_collection_name => 'MY_COLLECTION' );
end if;
apex_collection.create_collection_from_query
( p_collection_name => 'MY_COLLECTION'
, p_query => l_query
end;
Make sure you add your page_item to the "Page Items to Submit" section.
4) Add an extra true action that does a refresh of the report region.
Here are two pictures describing the da:
http://www.vincentdeelen.com/images/otn/OTN_COLLECTION_REPORT_DA1.png
http://www.vincentdeelen.com/images/otn/OTN_COLLECTION_REPORT_DA2.png
Good luck and regards,
Vincent
http://vincentdeelen.blogspot.com -
PO approval Workflow based on the Release Stratergy.
Hi ,
i am creating PO workflow based on the release Stratergy, in which release group = aa , release stratergy = a1 , a2 ,a3 .
If the PO is created according to a1 then it should goto 1 level approval, if a2 then to 2 level approval and if a3 then 3 level approval.
i have taken BO as BUS2012 and using singlesteprelease as event for triggering the workflow. i am checking the multicondition say if taking bus2012.releasestratergy = a1 then 1 approval if a2 then 2 approval if a3 then 3 approval.
my problem is the workflow is getting triggered but it is not accepting the values from multiple condition box and going to other part and getting struck or getting no where.
please suggest.
thanks in advanceHi Abhi,
I Guess the approach your doing is different from the standard one (WS20000075) No need to go for any multiple conditions.
1. Copy the standard workflow.
2. Create a Rule (Refer Rule 168) with container elements as POnumber, Release strategy and Release Code (Depending on your requirement).
3. Write an FM which will have 2 table parameter fields ACTOR_TAB and AC_CONTAINER and fill ACTOR_TAB with approver name.
4. Use this rule in Release of PO step and correct binding and everything will work fine.
Please revert back if you need more information.
Regards,
Gautham -
How to create Activity type
below are the details
x sales MnF Expenses
y FMS MnF Expensesdear sudhir
KA01 - Create Primary Cost Element for the new activities type.
KL01 - Create Activity Type tied to the primary cost element.
regards
rohit -
How to create dynamic context based on a structure defined in the program?
Hi Experts,
I need to create a dynamic context based on a structure wa_struc which i have define programatically.
When I pass wa_struc to structure_name parameter of create_nodeinfo_from_struc, i get a runtime error:
"Parameter STRUCTURE_NAME contains an invalid value wa_struc."
How to create dynamic context based on a structure defined in the program?
I have written the code like this:
TYPES: BEGIN OF t_type,
v_carrid TYPE sflight-carrid,
v_connid TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
wa_struc type t_type.
data: dyn_node type ref to if_wd_context_node.
data: rootnode_info type ref to if_wd_context_node_info.
rootnode_info = wd_context->get_node_info( ).
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
parent_info = rootnode_info
node_name = 'dynflight'
structure_name = 'wa_struc'
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( name = 'dynflight' ).
dyn_node->bind_table( i_struc ).
Thanks
Gopal
Message was edited by: gopalkrishna baligaHi Michelle,
First of all Special thanks for your informative answers to my other forum questions. I really appreciate your help.
Coming back to this question I am still waiting for an answer. Please help. Note that my structure is not in a dictionary.
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on condition
I have updated my code like the following and I am getting error:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
But now I am getting the following error :
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
-Gopal
Message was edited by: gopalkrishna baliga -
How to create a workflow in SharePoint 2013 that modifies the Modified By field?
Hello,
I like to create a workflow that updates the "modified by" field in a list. Is this possible?
Thanks,
Paulthe built-in audit fields (Created, Created By, Modified, Modified By) are managed internally by SharePoint. Workflows can edit metadata, but those changes will be made using the user who started the workflow, or by the author (if the workflow is set to
impersonate the author).
You cannot change the audit data.
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs -
Unable to create a subsite based on the generic template - save site as a template
hi,
am using a save site as a template functionality to create a sub site. when i select the custom template, and click on ok button,am getting server error in appln.
in the site template i have
1) 2 document libraries with permissions broken[ stop inheritance]
2) 4 Groups created L1, L2,L3,L4
am stuck with , how to proceed/ create a subsite based on the template site
note i have uploaded the wsp file in the new site collection and activated it . ma getting the custom site template name in the tab.
would like to get clarification about the custom permissions:
if i break the permissions on the document libraries, will this sec.permissions be intact, [ not changed] as the orginal ? i mean if i broke the permissions, in the newly created subsite also, will the permissions be broken? i need this broken functionality
as per my requirement.
help is highly appreciated!
Dashi,
am not bale to get the correlation id. am getting server error in application. yellow page error!!
and regarding the permissions i have checked this blog
http://sergeluca.wordpress.com/2011/06/02/sharepoint-2010-save-as-template-what-is-saved-what-is-not-saved/
Serge says that, if i am not wrong,
we cant perform stop inherit the permissions for the doc lib and create a sub site based on this site template.
also if i stop inheriting from site permissions also.
can anyone from MSFT, pls confirm this. or any msd doc says about this.
Das
Maybe you are looking for
-
Is there a way to make the "cover flow" on the iPod match the sort style that I use on the software . I go with Artist -- Album by Release Year . But the ipod seems to only do Artist -- Alphabetical by Album , and then there are a handful of albums o
-
Vista installation of P1505n drivers
Hello, i am having problem with installation of drivers , on to Vista Business. The installation,starts but when the printer is connected to the machine, nothing happens (the Vista recognises the printer as "unknown device" ), and installation hangs.
-
Add the time stamp ater file name (suffix)
Hi friends, i need help for below requierment. I want to add the time stamp for my file name. like *filename YYYY-MM-DD-HH-MM-SS.txt* i don't know how to wirte the UDF for this. please any help me on this. thanks Srini..
-
I want to open up a document (either pdf, word or gif etc.) which is in binary format. I know I can attach that binary object to filedownload ui object and open it. But that will be an additional user click and I want to avoid that. So, I might need
-
All items of delivery is not showing on SNC Web Portal
Hi Experts, We are facing one strange issue in SNC. I am explaining scenarion in detail. We have one sales order having 10 line items in R/3 & it is showing correctly on SNC web portal. For that sales order we have delivery with 10 line items ( out o